lambdaclass / lambdaclass/zksync_local_stack

Send command fails in readme

Open
#23 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Makefile
Stars
9
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Running through the usage in README, this command fails:

$ zksync-era-cli --l2-port 3050 send \
                                                 --contract 0x755f0f59c65de6a9afd5267dc7c0546a0c05a23b \
                                                 --function "transfer(address, uint256)" \
                                                 --args 0xb51473Db0e8e001fA0Ccbd5B80CEc36BEF3d430a 200 \
                                                 --output-types bool \
                                                 --private-key 0x27593fea79697e947890ecbecce7901b0008345e5d7259710d0dd5e500d040be \
                                                 --chain-id 270
thread 'main' panicked at src/main.rs:10:24:
called `Result::unwrap()` on an `Err` value: (code: 3, message: execution reverted, data: Some(String("0x")))

Location:
    /Users/austinabell/development/github.com/lambdaclass/zksync_era_cli/src/commands/send.rs:89:22
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

and link to readme:
https://github.com/lambdaclass/zksync_stack/blob/acc829b905cf7756c0b560da4063dd45aad18817/README.md?plain=1#L166-L174

Don't currently have time to debug the issue, but reporting it in case it's unknown. Hope this helps!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the command documented in README lines 166-174 and inspect the failure location at src/commands/send.rs:89. Reproduce the send command, trace the execution-reverted error, and confirm whether the command or the README needs correction; done means the documented command works or the README accurately describes the required usage.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.