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

Panic when no privkey provided #4772

Closed
2 tasks done
Thegaram opened this issue Apr 19, 2023 · 2 comments · Fixed by gakonst/ethers-rs#2363
Closed
2 tasks done

Panic when no privkey provided #4772

Thegaram opened this issue Apr 19, 2023 · 2 comments · Fixed by gakonst/ethers-rs#2363
Labels
T-bug Type: bug

Comments

@Thegaram
Copy link

Component

Cast

Have you ensured that all of these are up to date?

  • Foundry
  • Foundryup

What version of Foundry are you on?

cast 0.2.0 (8d0099b 2023-04-19T00:05:03.418079000Z)

What command(s) is the bug in?

cast send

Operating System

macOS (Apple Silicon)

Describe the bug

> cast send 0x0000000000000000000000000000000000000000 --private-key ""                                         
The application panicked (crashed).
Message:  assertion failed: `(left == right)`
  left: `0`,
 right: `32`
Location: /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/generic-array-0.14.7/src/lib.rs:572

This is a bug. Consider reporting it at https://github.com/foundry-rs/foundry

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
[1]    1250 abort      cast send 0x0000000000000000000000000000000000000000 --private-key ""
@mattsse
Copy link
Member

mattsse commented Apr 19, 2023

thanks!
this was indeed a hidden panic, fixed once the reference PR is merged

@Evalir
Copy link
Member

Evalir commented Jun 27, 2023

Closing, fixed

@Evalir Evalir closed this as completed Jun 27, 2023
@github-project-automation github-project-automation bot moved this from Todo to Done in Foundry Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-bug Type: bug
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants