Skip to content
This repository has been archived by the owner on Nov 18, 2022. It is now read-only.

CI: schedule Polyjuice generator fuzzing everyday #98

Draft
wants to merge 11 commits into
base: interoperability
Choose a base branch
from

Conversation

Flouse
Copy link
Collaborator

@Flouse Flouse commented Oct 18, 2021

No description provided.

Makefile Outdated Show resolved Hide resolved
@Flouse Flouse marked this pull request as draft November 22, 2021 08:57
@Flouse Flouse force-pushed the fuzz-202110 branch 2 times, most recently from df441ef to c60b36e Compare November 22, 2021 14:31
@Flouse Flouse changed the base branch from main to interoperability November 26, 2021 02:05
> pre-compiled contract `bn256_pairing` not supported yet,
due to its high cycle cost

bn256_pairing will not be implemented in the current Godwoken version.
* Add g_is_using_native_eth_address to distinguish L2TX

new = eth_polyjuice_args_header[7]
    = {'E', 'T', 'H', 'P', 'O', 'L', 'Y'};

* Rename address_to_account_id to short_script_hash_to_account_id

* Add `debug-mode` into Makefile

* feat: add ETH Address Registry layer2 contract

This contract introduces two-ways mappings between `eth_address` and
`gw_script_hash`.
   - As the rightmost 160 bits of a Keccak hash of an ECDSA public key,
     `eth_address` represents an EOA or contract address on Ethereum.
   - Godwoken account script hash(a.k.a. `gw_script_hash`) is a key used for
     locating the account lock. Note that Godwoken enforces one-to-one mapping
     between layer 2 lock script and account ID.
- fix sudt_pay_fee
- fix sUDT contracts
- test transfer from EoA to EoA using Metamask
In the latest version of Polyjuice, the EOA addresses are native `eth_address`, which is the rightmost 160 bits of a Keccak hash of an ECDSA public key.
@Flouse Flouse force-pushed the interoperability branch 2 times, most recently from 6b0805f to 26ada29 Compare November 26, 2021 06:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants