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

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

Open
StefanosChaliasos opened this issue Jul 18, 2024 · 0 comments
Open

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

StefanosChaliasos opened this issue Jul 18, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@StefanosChaliasos
Copy link

🐛 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:
@StefanosChaliasos StefanosChaliasos added the bug Something isn't working label Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant