Skip to content

zkstack fails to resume after an RPC rate limiting error #4572

@fadeevab

Description

@fadeevab

🐛 Bug Report

📝 Description

zkstack fails to resume after an RPC error (rate limits). Deploying on Sepollia.

🔄 Reproduction Steps

  1. zkstack ecosystem init --zksync-os -v --update-submodules false --ignore-prerequisites
  2. (fails in the middle of contract deployment)
  3. zkstack ecosystem init --zksync-os -v --update-submodules false --ignore-prerequisites
  4. Fails with the "Error: script failed: NativeTokenVaultAlreadySet()"

🤔 Expected Behavior

zkstack ecosystem init handles the error and proceeds without failure

😯 Current Behavior

It fails on the contract deployment stage.

Workaround

Re-init the ecosystem and deploy from scratch, hoping nothing fails.

🖥️ Environment

  1. zksync-era at the zksync-os branch at the moment of deployment
  2. Ecosystem init on Sepolia.

📋 Additional Context

Add any other context about the problem here. If applicable, add screenshots to help explain.

📎 Log Output

  L1NativeTokenVault Proxy has been deployed at 0x4860727112d9FD7e18D591868d42280AF9F16C0B
  forge verify-contract 0x4860727112d9FD7e18D591868d42280AF9F16C0B L1NativeTokenVault --constructor-args 0x000000000000000000000000fb228007939f4dafc4dfdbd22f2d522d0906bce3000000000000000000000000dffd6b6aa3c0a044b1a6c549b60c581e5aa8e96800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000044485cc955000000000000000000000000df12dca24af0c71b71ba50d077be67cd6bcbcecc000000000000000000000000ca5860163196d897d69c14af912aaf56cb545f4b00000000000000000000000000000000000000000000000000000000
Error: script failed: NativeTokenVaultAlreadySet()
│
■  Command failed to run
│
■    Status:
│      exit status: 1
│    Stdout:
│
│
│    Stderr:
│
│
■  Command failed to run: forge script deploy-scripts/DeployL1CoreContracts.s.sol --legacy --ffi --rpc-url=https://ethereum-sepolia.core.chainstack.com/xxxxxxxxxxx --private-key=<stripped> --broadcast --with-gas-price 100000000
│
│
▲    0: Command failed to run: forge script deploy-scripts/DeployL1CoreContracts.s.sol --legacy --ffi --rpc-url=https://ethereum-sepolia.core.chainstack.com/xxxxxxxxxxx --private-key=<stripped> --broadcast --with-gas-price 100000000
│
└  Failed to run command

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions