Skip to content
Monpediaby Unity Nodes
OpenPull Request

[test] Write the gas ledger from monad-ethereum-test

by khordadiCreated Nov 17, 2026category-labs/monad

ReferencesMIP-8

monad-ethereum-test --gas-profile FILE writes each transaction's gas by component as JSON lines, from interpreter runs, and fails the test if the components don't add up to the gas the transaction used. Without MONAD_GAS_PROFILE the option exits with an error.

On the 300 mainnet replay blocks from #2858, all 5,398 transactions add up exactly. Cold storage access is 39% of their gas, MIP-8 page growth 8% and cold account access 6.5%.

Stack: #2861 → #2862 → #2863 → this PR.

🤖 Generated with Claude Code