forc-wallet
forc-wallet copied to clipboard
Wallet new generates keys with incorrect length
https://github.com/FuelLabs/fuels-rs/issues/1289
The above issue on the Rust SDK led me to discover that we provide eth_keystore::encrypt_key with a mnemonic to be used
as pk here:
https://github.com/FuelLabs/forc-wallet/blob/4d5fa8b1214df6bcad9b31dbef571a67af70da8f/src/utils.rs#L129
which leads to variable length keys being generated instead of the expected 32 bytes.
Thanks Mujica