Meter the bytes execution adds to the EIP-7928 Block Access List in an explicit per-transaction counter, and fold that count, at 64 gas/byte, into the transaction’s floor accumulator — checked at runtime before the BAL grows. With EIP-7928 BALs, an attacker can pack ~1.55 MiB into a 60M-gas block: 75% of gas on cold SLOADs (32 BAL bytes per 2,100 gas) + 25% on calldata at 16 gas/byte. On top of EIP-8131’s tx-content floor (same rate), transaction content plus metered BAL bytes are capped at block_gas_limit / 64 ≈ 0.89 MiB, a ~42% cut in worst-case payload at an unchanged gas limit (about 35% in RLP-encoded bytes), with a small fixed overhead per transaction on top. Neither EIP alone closes the bypass: 8131 does not price BAL bytes; 8279 reuses 8131’s floor. On mainnet, the runtime part raises the cost of at most about 4% of transactions under Glamsterdam execution costs.
Motivation
Every node must be able to handle the largest block an attacker can build, not the average one. Lowering that worst case buys headroom, which can either be spent on throughput by raising the gas limit or kept as a buffer. Left unspent, it is a direct gain in robustness. EIP-7623 introduced a calldata floor to cap worst-case block size, and EIP-7976 raised it to 64 gas per calldata byte. EIP-7981 extended that to access-list entries, and EIP-8131 generalises the floor to a uniform per-byte rule over all tx-content fields, including EIP-7702 authorization tuples and EIP-4844 blob versioned hashes. EIP-7928 introduces a new source of block bytes, the BAL, populated by runtime opcodes. None of those static floors cover it.
The cheapest BAL contributor is a cold SLOAD: 32 bytes for 2,100 gas. Combined with all-non-zero calldata, an attacker lets cold SLOADs raise execution gas up to the calldata floor, so the floor never adds anything: the calldata effectively costs its 16 gas/byte intrinsic rate, and the SLOAD keys fill the rest of the block.
At a 60M gas limit:
Attack
Worst-case block bytes
Pure calldata at floor
0.894 MiB (target)
Cold-SLOAD bypass under EIP-7928
1.546 MiB
SSTORE, address access, CREATE, and successful EIP-7702 delegations give further vectors. This EIP closes them with one uniform mechanism.
Specification
The key words “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL NOT”, “SHOULD”, “SHOULD NOT”, “RECOMMENDED”, “NOT RECOMMENDED”, “MAY”, and “OPTIONAL” in this document are to be interpreted as described in RFC 2119 and RFC 8174.
Clients keep two internal, per-transaction counters and three sets on the execution environment for the duration of the transaction:
bal_data_bytes — an explicit count of the bytes execution contributes to the BAL,
floor_gas_used — the floor accumulator, derived from the static seed plus the metered bytes, and
metered_addresses — the addresses whose 20-byte address has already been metered,
metered_storage_keys — the (storage_address, key) pairs whose 32-byte storage key has already been metered, and
metered_storage_values — the (storage_address, key) pairs whose 32-byte storage value has already been metered.
None is part of the signed transaction, RLP-encoded, gossiped, or persisted; no new transaction field or type is introduced. floor_gas_used is seeded with the static floor (below), bal_data_bytes = 0, and all three sets empty. The counters and sets are extended at runtime. No gas is reserved or deducted from the execution budget; the derived floor is checked against the transaction’s execution-gas budget, execution_budget = min(tx.gas, TX_MAX_GAS_LIMIT), only to ensure the user can pay it if it ends up binding.
meter_bal_data MUST be called BEFORE the matching BAL insertion or state mutation, and after the pre-state execution-gas validation that EIP-7928 requires for that access has passed. An access that fails its pre-state validation meters nothing, and an OutOfGasError at the metering step aborts before any unpaid BAL byte exists. The metered count is a deliberate upper bound on the transaction’s actual BAL contribution (see Reverts and Repeated writes to the same slot); over-counting only raises the floor, never lowers it, so the bound below is never violated.
Static floor seed
The tx-content portion of the floor (calldata, access-list entries, authorization tuples, blob versioned hashes) is defined by EIP-8131 as tx_floor. This EIP adds the per-auth BAL contribution that arises when an authorization is processed:
tx_env.static_floor holds this value and tx_env.floor_gas_used is initialised to it (with bal_data_bytes = 0) at the start of execution. The per-auth term covers each authorization’s worst-case BAL contribution statically, so set_delegation never meters at runtime.
Per-transaction accounting always adds further BAL entries that no opcode places there: sender, coinbase, and top-level target addresses; sender and coinbase balances; sender nonce; recipient balance for a top-level value transfer; top-level creation target nonce; and the delegation target when the top-level target is an EIP-7702 delegated account. These entries are not metered. They are a fixed per-transaction overhead, bounded separately in Block-size bound.
Runtime data metering
Each trigger meters the byte count below before the corresponding BAL entry is added. Address and storage-key touches use meter_bal_address and meter_bal_storage_key; storage values use meter_bal_storage_value; all other rows call meter_bal_data directly. These first-touch sets are independent of EVM warmness: an address or storage key pre-warmed by an EIP-2930 access list is still metered when execution first touches it, because EIP-7928 then adds it to the BAL.
Trigger
Bytes added
First account touch in the transaction (BALANCE, EXT*, CALL* target and, for a delegated target, its delegation target, SELFDESTRUCT beneficiary, CREATE/CREATE2 deployed address)
20
First storage-key touch in the transaction (SLOAD, SSTORE)
32
SSTORE with current == original and new != original, if the (storage_address, key) pair has not been metered
+32
CALL with non-zero value to a different account (caller and recipient balances)
64
SELFDESTRUCT with non-zero balance to a different beneficiary (originator and beneficiary balances)
64
CREATE / CREATE2 before incrementing the creator’s nonce
8
CREATE / CREATE2 after the collision check (new contract’s nonce)
8
CREATE / CREATE2 with non-zero endowment (creator and new contract balances)
+64
Successful top-level contract creation, CREATE, or CREATE2 deploy, just before set_code
len(deployed_code)
EIP-7702 delegations are covered by the static auth_bal_bytes term. CALLCODE, DELEGATECALL, and STATICCALL transfer no value out of the executing account and therefore add no balance bytes.
The 32 storage-value bytes are metered at most once per slot per transaction. Before mutating storage, every SSTORE with current == original and new != original MUST call meter_bal_storage_value(tx_env, storage_address, key); the helper returns without charging if the pair was already metered. Here, storage_address is the account whose storage the current execution context modifies; for CALLCODE and DELEGATECALL, it is not the account whose code is executing. The metered_storage_values set is never rewound, and the charge is not refunded if a later SSTORE restores the original value. This can over-count a net-zero write, but keeps bal_data_bytes an upper bound without making it part of call-frame rollback: if the first changing write reverts, its retained charge covers any later committed change to the same slot; if a restoring write reverts, the charge still covers the earlier change that reappears in the BAL.
Intrinsic gas
Intrinsic gas is unchanged, including the EIP-7981access_list_data_cost that EIP-8131 keeps.
Transaction validation continues to require execution_budget >= max(intrinsic, static_floor).
System transactions and withdrawals
System-contract calls (EIP-2935, EIP-4788, EIP-7002, EIP-7251) and withdrawals do NOT consume from a per-transaction floor. Their BAL bytes are absorbed by the existing EIP-7928 block-level buffer bal_items <= block_gas_limit / ITEM_COST.
Rationale
Floor side, not intrinsic side
Raising execution charges would penalise every user, including ones who never bypass. Charging on the floor only bites when execution is too cheap to cover the floor, which is exactly the bypass case.
A pure execution-side surcharge also fails to cap the block at gas_limit / 64: for any added per-SLOAD cost X, the optimum bypass still yields B = gas_limit / 64 + 24 · gas_limit / (2100 + X) bytes, with the residual only vanishing as X grows large. Floor-side charging gives a closed bound directly.
Runtime extensions can bind
Runtime contributions are checked against the execution-gas budget because they can make the floor bind even when execution gas would not. Representative cases are:
Execution charges below are those in effect with EIP-8037 and EIP-8038. State gas is listed separately: it counts toward what the sender pays, max(gas used including state gas, floor), but the floor is charged in the block’s execution dimension, where only execution gas competes with it.
CALL with non-zero value (warm target, net of the 2,300 stipend passed to the callee)
4,096
9,100
0
SELFDESTRUCT with non-zero balance, beneficiary already metered
4,096
5,000
0
SELFDESTRUCT with non-zero balance, warm beneficiary first touched
5,376
5,000
0
Successful CREATE / CREATE2, no endowment/code (address and two nonces)
2,304
12,000
183,600
Deployed code (per byte)
64
6 per word
1,530
A pre-warmed EIP-2930 entry is charged once for its bytes in the transaction and again when execution first touches it and EIP-7928 copies it into the BAL. The warm execution charge can be lower than this second floor contribution. A positive-balance SELFDESTRUCT to a warm, not-yet-metered beneficiary likewise adds the 20-byte beneficiary address plus two 32-byte balances: 84 × 64 = 5,376 floor gas against a 5,000 execution-gas charge. The pre-mutation runtime check handles these cases directly. Under EIP-8037 the code-deposit execution charge is only the hashing cost of 6 gas per word, under 0.2 gas per byte, while the floor extension stays at 64 per byte, so deployed code is the runtime trigger whose floor extension exceeds its execution charge by the widest margin.
The main high-volume case remains a static seed defined by EIP-8131 (calldata, access-list entries, auths, blob hashes) that is already close to the execution-gas budget; that is the calldata + SLOAD bypass this EIP targets.
One per-byte rate
Pricing every BAL byte at the same FLOOR_GAS_PER_BYTE as calldata makes the worst case invariant to the attacker’s choice: calldata, auths, storage keys, addresses, code, and balances all yield 1/64 bytes per gas at the floor. The optimum collapses to B = gas_limit / 64.
Access-list surcharge kept
With this EIP, an access-list storage key that execution reads pays 2 × 32 × 64 = 4,096 floor gas for its 64 payload bytes, so the payload bound no longer needs the EIP-7981 surcharge. It is kept because it limits RLP framing, which the meter does not count: without it, BALANCE on access-list addresses combined with calldata reaches about 1.08 MiB of encoded bytes at a 60M gas limit, against about 1.01 MiB with it (see Block-size bound). Keeping it also leaves intrinsic gas as in Glamsterdam.
Meter before; never refund
EIP-7928 keeps accessed addresses and storage keys in the BAL even when their call frame reverts. Metering each contribution before the insertion guarantees every BAL byte is accounted for, and an out-of-gas at the metering step aborts before the matching insertion. The meter is otherwise a deliberate upper bound, not an exact mirror of the BAL: changes from reverted frames are never rewound (see Reverts), and storage-value bytes are never refunded. A refund when a slot returns to its pre-transaction value would have to be journaled with call-frame state: if the restoring write later reverted, the earlier value change would reappear in the BAL while its bytes remained refunded. The monotonic metered_storage_values set instead charges each slot at most once without entering rollback machinery, preserving the block-size bound while avoiding repeated charges for the same possible post-value. Without the set, every additional O → X → O cycle would add another 2,048 floor gas even though EIP-7928 records at most one post-value for the slot.
Per-auth coverage is static
Folding the worst-case 51 BAL bytes per authorization (on top of the 133-byte tuple priced by EIP-8131, for 184 B total) into the static floor keeps them computable from the transaction itself. Validation then rejects any transaction whose execution-gas budget cannot cover them, and set_delegation needs no floor check. The cost is an over-count of 51 bytes for each authorization that is skipped.
Counter, not a reservation
The runtime mechanism does not deduct gas from the execution budget or pre-commit any gas. meter_bal_data only increments the explicit byte counter (bal_data_bytes) and the derived accumulator (floor_gas_used), and checks that the floor remains ≤ execution_budget. Execution gas accounting is untouched. At the end, tx.gasUsed = max(execution_gas_used, floor_gas_used); the floor accumulator decides only how much of the upfront-debited tx.gas × gas_price gets kept versus refunded.
Ceiling is the execution-gas budget, not tx.gas
The floor is an execution-dimension quantity: block accounting compares it against the transaction’s execution gas, and EIP-7825 caps a transaction’s execution gas at TX_MAX_GAS_LIMIT. Under EIP-8037, tx.gas may exceed that cap, with the excess held in a state-gas reservoir that only state charges can draw on. Admitting the floor up to tx.gas would then let a deploy transaction with a large reservoir push the floor past TX_MAX_GAS_LIMIT through code-deposit bytes, exceeding the per-transaction execution cap that validation enforced statically and the execution capacity the block reserved for it. Checking against min(tx.gas, TX_MAX_GAS_LIMIT) keeps the floor inside the execution budget the transaction actually has. Without EIP-8037, tx.gas never exceeds TX_MAX_GAS_LIMIT, so the budget equals tx.gas and nothing changes.
max(execution, floor) preserved
The EIP-7623 / EIP-8131 charging shape is unchanged; only the floor side has a runtime tail. Transactions whose execution exceeds the floor pay exactly as today.
Backwards Compatibility
Hard fork.
The static floor takes tx_floor from EIP-8131 and adds 51 BAL bytes per authorization, plus runtime extensions of the floor accumulator for BAL bytes contributed during execution. The combined floor per auth is (133 + 51) × 64 = 11,776 gas, above the EXECUTION_PER_AUTH_BASE_COST = 7,816 intrinsic per auth set by EIP-2780 and EIP-8037. A type-4 transaction with little calldata and little execution beyond its authorizations can therefore be floor-bound. A processed authorization also pays runtime charges (ACCOUNT_WRITE and, for new state, state gas) that usually cover the difference. Static transaction validation changes only when this combined static floor dominates. During execution, a runtime BAL extension can also raise gasUsed or cause OutOfGasError when the new floor exceeds the execution-gas budget, including for pre-warmed first touches. A bare ETH transfer stays at 21,000.
Impact measured over 90 days of mainnet (2026-08-22 to 2026-11-19), with execution gas held at today’s level (full report). On all 168,284,788 transactions, the static per-authorization term raises the cost of 378,522 transactions (0.22%), all of them EIP-7702 transactions, adding 0.03% to total gas over EIP-8131 alone.
The runtime part was measured on all 108,809 transactions of 400 random blocks from the same window, traced for BAL bytes. Metered BAL bytes average about 500 B per transaction (median 244 B for EIP-1559 transactions), mostly storage keys; a plain ERC-20 transfer meters 128 B, or 8,192 floor gas. Whether the runtime part binds depends on execution costs, which EIP-8038 raises for exactly the operations that produce BAL bytes. With execution gas adjusted for EIP-8038 storage-write and account-access costs (still an upper bound, since state gas is not applied), runtime metering raises the cost of 3.7% of transactions in the sample and adds 0.83% to their total gas. At today’s execution costs it would affect 17% of transactions (+2.0% gas), led by token transfers whose cold reads cost about as much execution gas as their floor extension.
Wallets and eth_estimateGas MUST compute the new static floor (including the per-auth term) and, when tracing execution, meter the runtime BAL bytes for first touches, value-bearing calls, and deployments alongside intrinsic gas.
static_floor = base_gas = 21,000 gas (EIP-2780 base of a value transfer to another account).
Minimum tx.gas = 21,000, unchanged.
Cold SLOAD bypass attempt
Before this EIP, an idealized worst-case block at gas_limit = 60M holds four 15M-gas calls without value (base_gas = 15,000, within the EIP-7825 cap). Each carries 234,140 non-zero calldata bytes and performs 5,351 cold SLOADs, for 405,372 calldata and BAL key bytes per transaction and 1,621,488 bytes (1.546 MiB) per block.
With this EIP, the first cold SLOAD raises the floor to 15,002,008, above the execution-gas budget of 15,000,000, and halts with OutOfGasError before the key enters the BAL.
The largest feasible metered content per transaction is floor((tx.gas - base_gas) / 64) = 234,140 bytes, so the block’s metered bytes stay below gas_limit / 64 = 937,500 (see Block-size bound for the per-transaction overhead).
Pre-warmed storage-key touch
The transaction’s EIP-2930 access list contains (contract, slot), and execution then performs SLOAD(slot).
EIP-8131 meters the 20-byte address and 32-byte key in the transaction’s static floor.
The key is EVM-warm, but its first actual SLOAD calls meter_bal_storage_key, adding another 32 bytes for the BAL copy. The account address is covered separately when first touched or by the implicit per-transaction accounting above.
Repeated touches in the transaction add nothing.
Intrinsic gas carries the EIP-2930 charges (2,900 for the address, 2,000 for the key) and the EIP-7981 surcharge of 64 × 52 = 3,328 gas.
Cold SSTORE (zero → non-zero)
Single cold SSTORE writing a non-zero value to an empty slot.
Metered: 32 (key) + 32 (value) = 64 BAL bytes → 4,096 gas folded into floor_gas_used.
The SSTORE charges 12,100 execution gas and 97,920 state gas (EIP-8037, EIP-8038); the execution charge alone exceeds the 4,096 floor extension, so this trigger remains execution-dominated.
Net-zero SSTORE round-trip
Slot starts at original value O; the transaction writes X ≠ O then writes O again.
First SSTORE (O → X): 32 (cold key) + 32 (value) metered.
Second SSTORE (X → O): slot is back at its pre-transaction value, a no-op write under EIP-7928; the 32 value bytes stay metered.
Net metered: 64 (key and the upper-bound value charge). The BAL records the slot in storage_reads, with no storage_changes value entry, so the meter over-counts by 32 bytes.
Repeated distinct writes
Slot starts at O; the transaction writes A, then B, then C (all distinct, C ≠ O).
The 32 value bytes are metered once, on the O → A transition; A → B and B → C add nothing.
Net metered: 32 (key) + 32 (value) = 64, matching the single post-value C the BAL records.
Repeated departures from the original value
Slot starts at O; the transaction writes A, restores O, then writes B (A != O, B != O).
O → A meters the 32 value bytes and adds the slot to metered_storage_values.
A → O refunds nothing; O → B sees the slot already in metered_storage_values and adds nothing.
Net metered: 32 (key) + 32 (value) = 64, matching the single post-value B the BAL records.
Reverted CALL with value
CALL with value > 0 to a recipient that reverts.
64 balance bytes are metered (caller and recipient, folded into floor_gas_used) before generic_call.
Both balance changes are discarded on revert (per EIP-7928); neither bal_data_bytes nor the floor is rewound.
Over-accounting by 64 bytes; the bound still holds.
Security Considerations
Block-size bound
The bound has two parts: bytes that scale with gas, which the floor prices, and a fixed overhead per transaction.
Metered bytes. Every content byte (EIP-8131), every static per-authorization BAL byte, and every metered BAL byte is paid at FLOOR_GAS_PER_BYTE through tx_env.floor_gas_used = base_gas + FLOOR_GAS_PER_BYTE * (content_bytes + auth_bal_bytes * num_authorizations + bal_data_bytes), where base_gas is the transaction’s EIP-2780 base. Block gas accounting under EIP-8037 has an execution and a state dimension; the floor is charged in the execution dimension, whose block total is at most block_gas_limit:
These are payload bytes, counted with the constants above. The meter over-counts values, balances, and nonces, which EIP-7928 encodes as minimal-length integers, but it does not count the RLP framing and block access indices of BAL entries: an account entry that only records an address takes 27 encoded bytes for 20 metered bytes. The worst pattern found, BALANCE on addresses that the access list or a cold touch brings into the BAL, combined with enough calldata that execution gas and floor are equal, reaches about 1.01 MiB of encoded bytes at a 60M gas limit. In encoded bytes the worst case therefore falls from about 1.57 MiB (the cold-SLOAD bypass, whose keys encode to 33 bytes) to about 1.01 MiB, a cut of about 35%.
Per-transaction overhead. Each transaction also carries its envelope (about 110 to 165 bytes, see EIP-8131) and the BAL entries no opcode creates (see Static floor seed). These are not metered; base_gas, at least 12,000 gas or 187 bytes at the floor rate, covers them. Encoded exactly, a self-transfer needs 167 bytes for a typical sender and 185 bytes for a sender holding 1M ETH with inflated nonce and fee fields, so the budget holds for any realistic sender (only a sender holding about half of all ETH with every field maximized exceeds it, at 211 bytes); every other transaction shape adds at most a target entry and has a base_gas of at least 15,000. The exception is a transaction whose top-level target is an EIP-7702 delegated account (including a delegated sender’s self-transfer) and whose floor binds: the delegation target’s 27-byte entry is paid by a 3,000-gas access charge that the floor absorbs. For a delegated sender’s self-transfer this leaves about 7 bytes over budget per transaction for a typical sender; a call to another delegated account stays within budget unless its fields are inflated. A block of such transactions, each delegating to a distinct target, exceeds block_gas_limit / 64 by about 3%.
System-contract and withdrawal contributions are bounded separately by the EIP-7928 block-level ITEM_COST buffer (~1,428 items at a 60M gas limit), sized to absorb existing system contract use.
Reverts
Accessed addresses and storage keys persist in the BAL across reverts (per EIP-7928); balance, nonce, code, and storage-value changes from reverted frames are discarded. Neither bal_data_bytes, floor_gas_used, nor any of the three metering sets is rewound for discarded entries, and no storage-value charge is refunded. Safe: the meter over-counts, never under-counts.
Repeated writes to the same slot
The 32 storage-value bytes are metered at most once per slot per transaction. Repeated distinct writes (O → A → B → C) and repeated departures from the original value (O → X → O → Y) therefore meter 32 value bytes total, not 32 per write or departure. A net-zero round-trip (O → X → O) keeps that charge and over-counts the BAL by 32 bytes. Since metered_storage_values is not rewound, a charge from a reverted frame also covers any later committed change to the same slot. The meter can over-count, but never under-counts; the bound holds.
Gas estimation
Wallets and eth_estimateGas MUST simulate floor_gas_used alongside intrinsic and execution gas. Without it, estimates for floor-bound transactions are too low; a transaction may pass static validation and then halt with OutOfGasError when a runtime extension exceeds the execution-gas budget min(tx.gas, TX_MAX_GAS_LIMIT).