Skip to content

zksync-cli deposit does not work with the dockerized node #153

Description

@StefanosChaliasos

🐛 Bug Report for zkSync CLI

📝 Description

Cannot make deposits in the local development network.

🔄 Reproduction Steps

I install zksync-era and follow all the instructions, e.g.,

zk && zk init

I run the server

zk server --components=api,eth,tree,state_keeper,housekeeper,commitment_generator,proof_data_handler

Then I try to make a deposit, but the command fails:

npx zksync-cli bridge deposit --to 0x36615Cf349d7F6344891B1e7CA7C72883F5dc049 --amount 100 --token 0x0000000000000000000000000000000000000000 --pk 0x7726827caac94a7f9e1b160f7ea819f172f7b6f9d2a97f992c38edeab82d4110 --chain dockerized-node

Deposit:
 From: 0x36615Cf349d7F6344891B1e7CA7C72883F5dc049 (L1 Local)
 To: 0x36615Cf349d7F6344891B1e7CA7C72883F5dc049 (Dockerized local node)
 Amount: 100 ETH (Ether)
✖ Deposit failed
ⓘ There was an error while depositing funds:
ⓘ call revert exception [ See: https://links.ethers.org/v5-errors-CALL_EXCEPTION ] (method="baseToken(uint256)", data="0x", errorArgs=null, errorName=null, errorSignature=null, reason=null, code=CALL_EXCEPTION, version=abi/5.7.0)

🤔 Expected Behavior

Successful deposit

😯 Current Behavior

Unsuccessful deposit

🖥️ Environment

  • Package version: latest version
  • Node version: v18.20.4
  • NPM/Yarn version: npm 10.7.0 / 1.22.19
  • Operating System & Version: Ubuntu 22.04 LTS
  • Other relevant environment details:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions