cannot convert a slice of length 20 to FixedBytes<32> #7885
Replies: 1 comment
-
This was fixed in the last version |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey guys, I am totally new in this field, and I am learning from youtube. and I tried to put private key to deploy in anvil and it is showing this error.
''' Message: cannot convert a slice of length 20 to FixedBytes<32>
Location: crates/wallets/src/wallet_signer.rs:51 '''
Here is the full error message-
'''
The application panicked (crashed).
Message: cannot convert a slice of length 20 to FixedBytes<32>
Location: crates/wallets/src/wallet_signer.rs:51
This is a bug. Consider reporting it at https://github.com/foundry-rs/foundry
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⋮ 7 frames hidden ⋮
8: foundry_wallets::wallet_signer::PendingSigner::unlock::he6f92e37830eb2b9
at :
9: foundry_wallets::raw_wallet::RawWalletOpts::signer::h5854bbee03e9b0b3
at :
10: forge::cmd::create::CreateArgs::run::{{closure}}::h4d3bf6d966dc4613
at :
11: forge::main::hc8bf1a9e91f73903
at :
12: std::sys_common::backtrace::__rust_begin_short_backtrace::he00772b07c27e46c
at :
13: main
at :
14: __libc_start_main
at :
15: _start
at :
Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
Aborted
'''
thanks for reading.
Beta Was this translation helpful? Give feedback.
All reactions