Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploying L1 contracts Error: #13

Open
nonameb3 opened this issue Dec 20, 2023 · 0 comments
Open

Deploying L1 contracts Error: #13

nonameb3 opened this issue Dec 20, 2023 · 0 comments

Comments

@nonameb3
Copy link

Description

As a Developer, I want run local-setup so that I can test zkStack on my Mac.

Steps to Reproduce

  1. clone https://github.com/matter-labs/local-setup.git
  2. cd local-setup, ./start.sh
  3. look at logs in docker, local-setup-zksync-1

Expected behavior: All logs should succeed smoothly.

Actual behavior: Has a log error in step "Deploying L1 contracts".

Logs

`2023-12-20 10:31:36 ------------------------

2023-12-20 10:31:36 > Deploying L1 contracts
2023-12-20 10:31:39 $ ts-node scripts/deploy.ts
2023-12-20 10:32:24 Using deployer wallet: 0x52312AD6f01657413b2eaE9287f6B9ADaD93D5FE
2023-12-20 10:32:24 Using owner address: 0x52312AD6f01657413b2eaE9287f6B9ADaD93D5FE
2023-12-20 10:32:24 Using gas price: 1.000000007 gwei
2023-12-20 10:32:24 Using nonce: 3
2023-12-20 10:32:24 Deploying Create2 factory
2023-12-20 10:32:28 CONTRACTS_CREATE2_FACTORY_ADDR=0x70a0F165d6f8054d0d0CF8dFd4DD2005f0AF6B55
2023-12-20 10:32:28 Create2 factory deployed, gasUsed: 147715
2023-12-20 10:32:28 Deploying Multicall3
2023-12-20 10:32:31 Multicall3 deployed, gasUsed: 874243
2023-12-20 10:32:31 CONTRACTS_L1_MULTICALL3_ADDR=0xE703aE6c860dBe08E5A0836550F35EfC8eDeef8E
2023-12-20 10:32:31 Deploying DiamondUpgradeInit1
2023-12-20 10:32:34 DiamondUpgradeInit1 deployed, gasUsed: 2417055
2023-12-20 10:32:34 CONTRACTS_DIAMOND_UPGRADE_INIT_ADDR=0xe131AdA71EEfAFb6a68E14D109fDAf2F9e1550dc
2023-12-20 10:32:34 Deploying DefaultUpgrade
2023-12-20 10:32:37 DefaultUpgrade deployed, gasUsed: 1975977
2023-12-20 10:32:37 CONTRACTS_DEFAULT_UPGRADE_ADDR=0xbAD09B6e2528B22178ABF73244fA7d16B2920E00
2023-12-20 10:32:37 Deploying Governance
2023-12-20 10:32:40 Governance deployed, gasUsed: 1455695
2023-12-20 10:32:40 CONTRACTS_GOVERNANCE_ADDR=0xF86deeA362Edf7799988639F18Fa43e142894345
2023-12-20 10:32:40 Deploying AllowList
2023-12-20 10:32:43 AllowList deployed, gasUsed: 1022956
2023-12-20 10:32:43 CONTRACTS_L1_ALLOW_LIST_ADDR=0xbd9aFd87532343Ba13dE8AAAf65ba75ecd0A9B47
2023-12-20 10:32:43 Deploying MailboxFacet
2023-12-20 10:32:43 Deploying ExecutorFacet
2023-12-20 10:32:43 Deploying AdminFacet
2023-12-20 10:32:43 Deploying GettersFacet
2023-12-20 10:32:43 Deploying DiamondInit
2023-12-20 10:32:47 MailboxFacet deployed, gasUsed: 2369470
2023-12-20 10:32:47 CONTRACTS_MAILBOX_FACET_ADDR=0x08361f7163895db5de3F25FEBc1f04472d6CD98b
2023-12-20 10:32:48 ExecutorFacet deployed, gasUsed: 2380756
2023-12-20 10:32:48 CONTRACTS_EXECUTOR_FACET_ADDR=0x04498d426B910eeA9AC97D4F5F425B7Dd55BAc01
2023-12-20 10:32:49 AdminFacet deployed, gasUsed: 2508841
2023-12-20 10:32:49 CONTRACTS_ADMIN_FACET_ADDR=0xE9375Ef66E9B73980B50e6CC26AAc289Cc0C8C15
2023-12-20 10:32:50 DiamondInit deployed, gasUsed: 476781
2023-12-20 10:32:50 GettersFacet deployed, gasUsed: 969045
2023-12-20 10:32:50 CONTRACTS_DIAMOND_INIT_ADDR=0x589e3cc9d128A075a289A30be21d1e2001C8b94f
2023-12-20 10:32:50 CONTRACTS_GETTERS_FACET_ADDR=0xf3a0C980901683e9Ab15cF4dB18e2d501d1994A1
2023-12-20 10:32:50 Deploying DiamondProxy
2023-12-20 10:32:53 DiamondProxy deployed, gasUsed: 2430064
2023-12-20 10:32:53 CONTRACTS_DIAMOND_PROXY_ADDR=0xbe1327C216F6E5E65657E60365024F37B8a756b2
2023-12-20 10:32:53 Deploying L1ERC20Bridge
2023-12-20 10:32:56 L1ERC20Bridge deployed, gasUsed: 2827260
2023-12-20 10:32:56 CONTRACTS_L1_ERC20_BRIDGE_IMPL_ADDR=0x3a48911264c020eBA2D36D76346338Fcd7cc0Bf6
2023-12-20 10:32:56 Deploying TransparentUpgradeableProxy
2023-12-20 10:32:59 TransparentUpgradeableProxy deployed, gasUsed: 678557
2023-12-20 10:32:59 CONTRACTS_L1_ERC20_BRIDGE_PROXY_ADDR=0xf3eC228124D7d84480783C7f6e0ce1bA51F6851F
2023-12-20 10:32:59 Error: TypeError: Cannot read properties of undefined (reading 'address')
2023-12-20 10:32:59 at Deployer. (/contracts/ethereum/src.ts/deploy.ts:318:92)
2023-12-20 10:32:59 at step (/contracts/ethereum/src.ts/deploy.ts:33:23)
2023-12-20 10:32:59 at Object.next (/contracts/ethereum/src.ts/deploy.ts:14:53)
2023-12-20 10:32:59 at /contracts/ethereum/src.ts/deploy.ts:8:71
2023-12-20 10:32:59 at new Promise ()
2023-12-20 10:32:59 at __awaiter (/contracts/ethereum/src.ts/deploy.ts:4:12)
2023-12-20 10:32:59 at Deployer.deployWethBridgeImplementation (/contracts/ethereum/src.ts/deploy.ts:390:16)
2023-12-20 10:32:59 at Deployer. (/contracts/ethereum/src.ts/deploy.ts:439:16)
2023-12-20 10:32:59 at step (/contracts/ethereum/src.ts/deploy.ts:33:23)
2023-12-20 10:32:59 at Object.next (/contracts/ethereum/src.ts/deploy.ts:14:53)
error Command failed with exit code 1.

2023-12-20 10:32:59 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2023-12-20 10:33:00 Skip contract verification on localhost
2023-12-20 10:33:00 ✔ Deploying L1 contracts done (83458ms)`

Versions

  • Software version: [latest local-setup@main]
  • OS Name & Version: [macOs: 14.0 (23A344), MacbookPro M1 2020]
  • Docker Version: [docker desktop 4.24.0]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant