Module reverted_tx_gas

Module reverted_tx_gas 

Source
Expand description

Hardcoded per-tx gas overrides for previously-reverted transactions.

When a tx hash appears in this table, RevertedTxHook short-circuits execution and forces the recorded l2GasUsed. Used to repair historical Sepolia divergence from a Stylus ARM/x86 determinism incident; replays must apply the same override or block hashes diverge.

Functionsยง

lookup
Lookup the recorded L2 gas-used for a tx hash. Some(g) means the tx must be force-reverted with g total L2 gas (excludes poster gas).