Open sendra opened 11 months ago
Hi @sendra thanks for reporting. Have you experienced issues around this more recently? We've since migrated from Ethers to Alloy. If so, would greatly appreciate a minimal reproduction if possible.
The root cause of #4362 is still open unfortunately: https://github.com/LedgerHQ/app-ethereum/issues/409
The workaround implemented in Ethers has also been implemented in Alloy: https://github.com/alloy-rs/alloy/blob/ca1f1f00dc98c975ab81ea095ecd6de627974e82/crates/signer-ledger/src/signer.rs#L246-L249
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (bff4ed9 2023-08-29T00:32:25.634676000Z)
What command(s) is the bug in?
forge script
Operating System
macOS (Apple Silicon)
Describe the bug
When using forge script to deploy on the Base network, on certain transactions its sending chainId 0 to ledger, which makes it fail with error:
Have not been able to isolate the cases for when this happens. But provably similar problem to this issue: https://github.com/foundry-rs/foundry/issues/4362