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
fix(evm): address devnet-6 review findings in the state-gas policy
- Make advanced state-gas refund revocation exact: track how much spill
refund each advance marked (VmState.StateGasSpillRefundAdvanced) and
undo it on revert; the removal drains the reservoir only to zero, then
recorded usage, and restores any net-spill debt the credit had filled.
- Set the OutOfGas flag when ConsumeStateGas fails on the spill path.
- Saturate the EIP-7825 cap subtraction in CreateAvailableFromIntrinsic
(replacing the debug assert) so an over-cap intrinsic moves the excess
to the reservoir; regression tests for all three.
- Extract the shared destroy/recreate logic into DestroyAccount on the
non-generic TransactionProcessorBase.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
0 commit comments