cronos-labs / cronos-zkevm

Apache License 2.0
8 stars 2 forks source link

[Testnet] Deploy L1 contracts Ethereum testnet Sepolia #2

Closed thomas-nguy closed 1 year ago

thomas-nguy commented 1 year ago

Following the zk init script

https://github.com/matter-labs/zksync-era/blob/main/infrastructure/zk/src/init.ts#L35

Build and deploy all the L1 contracts.

Record the address of all the deployed contract

The verification contract will uses the verification key from the repository

https://github.com/matter-labs/era-contracts/blob/41c25aa16d182f757c3fed1463c78a81896f65e6/ethereum/contracts/zksync/Verifier.sol

thomas-nguy commented 1 year ago

Done previously

Contract addresses on Sepolia

CONTRACTS_MAILBOX_FACET_ADDR=0x8cA327CD55F01d0A1241738876975a9BdC21c359 CONTRACTS_GOVERNANCE_FACET_ADDR=0x1dac9f0b74EF58bf51F8252FaCFec0eDA75e77D1 CONTRACTS_DIAMOND_CUT_FACET_ADDR=0xcb4e242919EB468Dfe84BF21541F174eD73F6DD1 CONTRACTS_EXECUTOR_FACET_ADDR=0x3AE1a328Cd6938adfCf0a935408Ee31CBEd01F35 CONTRACTS_GETTERS_FACET_ADDR=0x27f88B86D7B5A6Fb7cc105F402E4415aCcD23335 CONTRACTS_DIAMOND_INIT_ADDR=0x12A30AFF6273fA80ECB4a67522A24D3321ab7cAA CONTRACTS_DIAMOND_UPGRADE_INIT_ADDR=0x16de317b94C2ff9853f96e12644AABe1d01F6192 CONTRACTS_DIAMOND_PROXY_ADDR=0x53D3FaB9cE0e15049E2908F8f541d406084a69a7 CONTRACTS_VERIFIER_ADDR=0x936eDD55AE0811C9EBb5126Ca92A9C27B874462B CONTRACTS_L1_ERC20_BRIDGE_IMPL_ADDR=0x656555Df2F7Fe19d70C31EEe0528C26a0C30161C CONTRACTS_L1_ERC20_BRIDGE_PROXY_ADDR=0x4f6Cf28605a2bCb40626143F18E2b2d96B8aEBc7 CONTRACTS_L1_ALLOW_LIST_ADDR=0xe56C11960e182527d939fa2FC44CB9Dde53Fd833 CONTRACTS_CREATE2_FACTORY_ADDR=0x7927BF475C11BBD87917407E961686D4E38a48A9 CONTRACTS_VALIDATOR_TIMELOCK_ADDR=0x9A84f10f6fa0716866D44Fed60772DC2164C0F2B