EIP-8279 · Draft · Core · 2026-05-23
EIP-8279: Block Access List Byte Floor
Counts the bytes each transaction adds to the Block Access List and folds them into the per-byte gas floor, so attackers can no longer pad blocks with cheap cold storage reads and the worst-case block size drops to about gas_limit / 64 bytes.
What problem does it solve?
Nodes must cope with the biggest block an attacker can build, not the average one. EIP-7623 (and its successors EIP-7976 and EIP-8131) bound that size by charging a floor of 64 gas per byte of transaction content such as calldata.
EIP-7928 Block Access Lists add a new source of block bytes: every storage key, address and changed value touched during execution is written into the block. None of the existing floors price those bytes. A cold SLOAD adds 32 BAL bytes for only 2,100 gas, and combining it with calldata lets an attacker escape the calldata floor. At a 60M gas limit the spec computes:
| Attack | Worst-case block bytes |
|---|---|
| Pure calldata at the floor | 0.894 MB (intended bound) |
Cold-SLOAD bypass under EIP-7928 |
1.548 MB |
How it works
Each transaction gets two internal counters (not part of the transaction, not gossiped):
bal_data_bytes: bytes this transaction has added to the BAL so far;floor_gas_used = static_floor + bal_data_bytes × 64.
static_floor is the EIP-8131 content floor plus 51 bytes per EIP-7702 authorization (address + delegation marker + nonce), so delegation processing never needs runtime metering.
Before any opcode adds to the BAL, the client calls meter_bal_data. Examples: a cold account access adds 20 bytes, a cold storage access 32, the first SSTORE that moves a slot off its original value another 32 (refunded if a later write restores it), value-bearing CALL 32, and deployed code its length. If the new floor would exceed tx.gas, the operation fails with out-of-gas before the BAL grows.
At the end:
tx.gasUsed = max(execution_gas_used, floor_gas_used)
No gas is reserved or deducted during execution. Because every metered opcode already costs more execution gas than the floor it adds, the floor only binds for transactions whose calldata already pushed them near it, which is exactly the bypass case. Every block byte then costs at least 64 gas, giving block_bytes ≤ block_gas_limit / 64 (about 0.89 MB at 60M).
Sample code
The metering hook, from the spec:
FLOOR_GAS_PER_BYTE = 64
def meter_bal_data(tx_env, num_bytes):
tx_env.bal_data_bytes += num_bytes
new_floor = tx_env.static_floor + tx_env.bal_data_bytes * FLOOR_GAS_PER_BYTE
if new_floor > tx_env.gas_limit: # tx.gas
raise OutOfGasError
tx_env.floor_gas_used = new_floor
The spec's bypass example: 937,500 non-zero calldata bytes give a static floor of 21,000 + 64 × 937,500 = 60,021,000. Each cold SLOAD then adds 32 × 64 = 2,048 to the floor, so the attack transaction runs out of gas long before it can add meaningful BAL data.
Things to know
- Status: Draft. It depends on EIP-7928 (Last Call) and EIP-8131 (Draft); the two floors are designed to work together, and neither closes the bypass alone.
- A plain ETH transfer still costs 21,000 gas. The spec's sample of mainnet transactions estimates that only a small share (well under 1 percentage point beyond EIP-8131's own effect) would pay more.
- Wallets and
eth_estimateGasMUST simulate the floor, including runtime BAL bytes; otherwise estimates for floor-bound transactions will be too low. - The meter deliberately over-counts in some cases (e.g. value bytes inside reverted calls are not rewound). That only raises the floor and keeps the size bound safe.
- System calls and withdrawals are not metered per transaction; EIP-7928's block-level item budget covers them.