Developers testing whether a contract property holds across a sequence of transactions can now vary the gas price during a Forge invariant test. Foundry’s December 5, 2026 nightly adds invariant.max_gas_price, a setting that caps the values Forge can generate for tx.gasprice, the transaction gas price visible to the contract. The feature was contributed by @mablr (#19019).
Anvil: pending transactions and forked state
Anvil now estimates gas for a submitted transaction against the pending block (#19001). When reporting the gas price of a pending transaction, it returns the transaction’s maximum fee (#19013); that figure is not a final fee paid. Anvil also mines a queued transaction after setNonce fills a gap in the sender’s transaction sequence (#19002).
On a fork, eth_getAccount and eth_getProof now read fork accounts from the fork itself (#19014, #19015). When replaying the fork prefix, Anvil uses the source chain’s hardfork rules (#19017). For developers inspecting execution, ots_traceTransaction now includes contract creation and SELFDESTRUCT operations (#19012).
Fee payers and transaction inspection
A fix by @mattsse applies across Anvil, Cast and Forge: estimates for sponsored Tempo transactions now use the fee payer (#18787). Cast also creates sessions for linked configurable accounts (#19010), skips configurable account owners that cannot sign a hash (#19008), and displays the gasPrice reported by the node in cast tx (#18469).
Execution and build overhead
Anvil reduces the cost of decoding remote procedure call (RPC) requests (#19025), runs eth_call inline when not forking (#19024), and drops unused capacity from stored block bodies (#19016). Forge reduces overhead for builds with nothing to rebuild (#19026). The release notes give no benchmark figures for these changes.
Other fixes affect symbolic analysis: Forge no longer saves a slot for vm.load candidates (#18990), orders products under overflow guards (#19005), and recognizes mulDiv by a power of two (#18920). Cheatcodes now respect the configured virtual-machine verbosity (#18939). The nightly also updates soldb to 0.4.8 (#18897) and removes rust-cache from the no-default-features continuous-integration job (#19029).