nonsense/opgas-reth-poc2-tracerThis branch introduces the Sequencer-Defined Metering feature - SDM, with the block-level warming policy.
op-reth tracks block-level warming during execution, turns the resulting refunds into a system SDM transaction, exposes those refunds on receipts, and adds a replay/debug toolchain so we can inspect the accounting on historical blocks.
https://github.com/ethereum-optimism/design-docs/pull/361
Here are the results in terms of gas savings for this PoC: https://www.notion.so/oplabs/SDM-Benchmarking-for-PoC-2-Block-Level-Warming-330f153ee16280d4b2effdf0b3b53eb7
rust/op-alloy/crates/consensus/src/sdm.rs0x7DSDMGasEntry { index, gas_refund }SDMPayload { version, entries }TxSdm, a synthetic tx carrying the payloadrust/alloy-op-evm/src/sdm/inspector.rs+2500SLOAD: +2000SSTORE: +2100rust/op-reth/crates/payload/src/builder.rs