You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
map common errors like NonceTooLow and GasPriceLessThanBasefee with additional context and hints for example hint to setNonce or basefee to modify the currently enforced basefee on the fork
Component
Forge
Describe the feature you would like
current example of the transact cheatcode is no longer working and fails with:
Reason: backend: failed committing transaction: Transaction(NonceTooLow { tx: 1, state: 2 })]
this is because the example forks off at the block the transaction was mined in.
ref https://github.com/foundry-rs/book/blob/82b99014a448e3bb1d2d2cc5a6e95da5fd401051/src/cheatcodes/transact.md?plain=1#L1
TODO
map common errors like NonceTooLow and GasPriceLessThanBasefee with additional context and hints for example hint to setNonce or basefee to modify the currently enforced basefee on the fork
tx is executed here:
foundry/crates/evm/src/executor/backend/mod.rs
Line 1192 in 2fc85cb
Additional context
Related: foundry-rs/book#1023
The text was updated successfully, but these errors were encountered: