Skip to content

Panic when no privkey provided #4772

Closed
gakonst/ethers-rs
#2363
@Thegaram

Description

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 ""

Activity

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

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    • Status

      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions