Introduction
Hi, I'm cardene, a software engineer and technical writer focused on blockchain and AI.
I've also authored Japanese technical books on specification-driven development with LLMs and decentralized application (DApp) development.
I also build and publish a variety of tools, libraries, and open-source projects.
EIP-7886 proposes a mechanism for validating blocks before executing the transactions they contain.
This article explains the proposal as described at the time of writing, with additional context.
You can find my other EIP articles here.
Overview
EIP-7886 proposes a more efficient approach to block validation. Instead of executing every transaction before deciding whether a block is valid, validators can establish validity using static checks. If a transaction subsequently fails a state-dependent validity check during execution, the proposal skips that transaction rather than invalidating the entire block.
What is COINBASE?
In Ethereum, COINBASE refers to the block's beneficiary or fee recipient address, which receives transaction priority fees. Historically, miners also received newly issued block rewards under proof of work.
The term is related to the coinbase transaction used by networks such as Bitcoin, where a special transaction, normally placed first in a block, distributes newly issued coins and transaction fees to the miner. Ethereum does not use such a transaction for its ordinary fee distribution. Under the proposed mechanism discussed here, the Ethereum block beneficiary authorizes and pays inclusion costs.
Validation mechanism
Conventional Ethereum block validation requires executing every transaction in the block and checking the resulting state before concluding that the block is valid. The time this takes constrains block processing speed.
The proposal allows validity to be determined by inspecting the previous state and the basic structure of the block. Validators need not wait for execution of the current block's transactions to complete before validating it.
Skipping transactions
Under conventional rules, including an invalid transaction makes the entire block invalid.
Under EIP-7886, a transaction that fails an execution-time validity check can be skipped without affecting the validity of the entire block. This provides more flexibility and avoids rejecting a block because of an individual transaction that cannot be executed. Static validity failures remain grounds for rejecting the block.
Managing costs
If invalid transactions can be skipped, someone must still pay for including them. The proposal requires the block's COINBASE to prepay basic transaction costs, including base costs, calldata costs, and blob costs.
When a transaction is executed rather than skipped, its sender pays the applicable costs and COINBASE can recover the prepaid inclusion cost. This improves flexibility while preserving economic incentives to account for network resource consumption.
Motivation
EIP-7886 aims to speed up block validation. Under the rules addressed by the proposal, Ethereum requires all transactions in a block to be executed before validation is complete, and the proposal shortens that critical path. In particular, it could make higher block gas limits practical and allow more transactions to be processed.
Separating validation from execution also allows validators to attest to the validity of a block sooner, while execution is handled asynchronously. This could improve network efficiency.
Specification
Changes to the header structure
To enable validation without executing the current block, EIP-7886 changes the block header structure. In particular, fields that depend on execution results are carried forward from the parent block.
Deferred fields
Normally, the block header includes results obtained after transaction execution. Such fields prevent advance validation of the current block. The proposal therefore replaces the following fields with information derived from the parent block.
state_rootreceipt_rootbloomgas_usedrequests_hash
This allows the header to be validated in advance while preserving the consistency of the block and its relationship to the parent.
COINBASE signature
Because COINBASE prepays basic transaction costs, the protocol needs a mechanism to establish that the beneficiary has authorized the payment. The proposal requires COINBASE to sign the header, excluding the signature fields themselves.
The new header adds the following components of the beneficiary's signature.
y_parity(signature Y-coordinate parity)r(signature r value)s(signature s value)
This signature allows validators to check whether COINBASE has authorized the block.
Final header structure
The new block header has the following structure.
class Header:
parent_hash: Hash32
ommers_hash: Hash32
coinbase: Address
pre_state_root: Root # 遅延されたフィールド
transactions_root: Root
parent_receipt_root: Root # 遅延されたフィールド
parent_bloom: Bloom # 遅延されたフィールド
difficulty: Uint
number: Uint
gas_limit: Uint
parent_gas_used: Uint
timestamp: U256
extra_data: Bytes
prev_randao: Bytes32
nonce: Bytes8
base_fee_per_gas: Uint
withdrawals_root: Root
blob_gas_used: U64
excess_blob_gas: U64
parent_beacon_block_root: Root
parent_requests_hash: Hash32 # 遅延されたフィールド
# COINBASEの署名
y_parity: U256
r: U256
s: U256Verifying the COINBASE signature
Validating the block requires checking whether COINBASE actually signed it. The recover_header_signer function performs this check.
def recover_header_signer(
chain_id: U64,
header: Header,
) -> Address:
signing_hash = keccak256(
b"0x06"
+ rlp.encode(
(
chain_id,
header.parent_hash,
header.ommers_hash,
header.coinbase,
header.pre_state_root,
header.transactions_root,
header.parent_receipt_root,
header.parent_bloom,
header.difficulty,
header.number,
header.gas_limit,
header.parent_gas_used,
header.timestamp,
header.extra_data,
header.prev_randao,
header.nonce,
header.base_fee_per_gas,
header.withdrawals_root,
header.blob_gas_used,
header.excess_blob_gas,
header.parent_beacon_block_root,
header.parent_requests_hash,
)
)
)The function recovers the signer's address from the block header and its signature.
Handling a signature mismatch
If the recovered signer does not match the COINBASE address in the header, the block is invalid.
header_signer = recover_header_signer(
chain.chain_id,
block.header,
)
if coinbase != header_signer:
raise InvalidBlockThis prevents acceptance of a block without the beneficiary's authorization and establishes that COINBASE has agreed to its payment obligations.
What static block validation means
EIP-7886 separates block validation from block execution. Establishing a block's validity before executing it is intended to accelerate validation and improve network scalability.
In the proposed modifications to Ethereum's execution-specs, static validation is performed by validate_block. Once the block is found valid, validators can attest to it without waiting for execution of its body. Execution is handled by apply_body, which computes the resulting state. That computation is distinct from consensus finality.
Validation checks
The validate_block function performs the following checks.
Verifying deferred header fields
Some header fields depend on transaction execution results. Validators check that the inherited information matches the results of executing the parent block.
pre_state_root(state root before execution)parent_gas_used(gas used by the parent block)parent_receipt_root(parent block's receipt root)parent_bloom(parent block's log bloom filter)parent_requests_hash(parent block's requests hash)
The block is invalid if these values do not match the parent block's execution results.
Checking statically verifiable header fields
The following fields can be checked without executing the current block.
- Whether
transactions_rootandwithdrawals_rootare constructed correctly. - Whether
blob_gas_usedis calculated correctly. - Whether the
COINBASEsignature is valid.
Static validation of each transaction (check_transaction_static)
Each transaction in the block is subject to the following checks.
- Signature validation
- Verify the sender's signature.
- Gas price check
- Check that the gas price or applicable fee cap is sufficient to cover
base_fee_per_gas.
- Check that the gas price or applicable fee cap is sufficient to cover
- Calculate costs payable by COINBASE
- Check that
COINBASEcan cover the inclusion costs of all transactions.
- Check that
An invalid transaction signature or insufficient applicable gas price makes the entire block invalid.
Resource limits
- Total gas
- Check that the statically accounted gas consumption, including inclusion gas, does not exceed the block's
gas_limit.
- Check that the statically accounted gas consumption, including inclusion gas, does not exceed the block's
- Total blob gas
- Check that the block's blob gas usage does not exceed
MAX_BLOB_GAS_PER_BLOCK.
- Check that the block's blob gas usage does not exceed
Checking COINBASE's ability to pay
COINBASE must pay the inclusion costs of every transaction in advance. The validator checks whether the account balance is sufficient to cover those costs.
coinbase_account = get_account(chain.state, coinbase)
if Uint(coinbase_account.balance) < inclusion_cost:
raise InvalidBlockThe block is invalid if the balance is insufficient.
Trie verification
- Check that
transactions_rootmatches the transaction data in the block. - Check that
withdrawals_rootis calculated correctly. - Check that
blob_gas_usedis correct.
The block is invalid if these checks fail.
Block execution
Block execution is handled by apply_body in Ethereum's execution-specs. The proposal introduces a mechanism through which COINBASE prepays the inclusion costs of all transactions when execution of the block begins.
How COINBASE prepays inclusion costs
At the start of execution, COINBASE pays the basic costs associated with every transaction in the block. These consist of the following components.
- Basic gas cost (21,000 gas)
- Calldata cost, based on EIP-7623.
- Blob gas cost, based on the blob data included in the block.
The protocol calculates these costs across all transactions and deducts them from the COINBASE balance.
def calculate_inclusion_gas_cost(tx: Transaction) -> Uint:
tokens_in_calldata = zero_bytes + (len(tx.data) - zero_bytes) * 4
calldata_floor_gas_cost = tokens_in_calldata * FLOOR_CALLDATA_COST
return TX_BASE_COST + calldata_floor_gas_costWithin apply_body, the inclusion costs of all transactions are calculated and deducted from the beneficiary's balance.
total_inclusion_gas = sum(calculate_inclusion_gas_cost(tx) for tx in decoded_transactions)
total_blob_gas_used = sum(calculate_total_blob_gas(tx) for tx in decoded_transactions)
inclusion_cost = (
total_inclusion_gas * base_fee_per_gas
+ total_blob_gas_used * blob_gas_price
)
coinbase_account = get_account(state, coinbase)
coinbase_balance_after_inclusion_cost = (
Uint(coinbase_account.balance) - inclusion_cost
)
# COINBASEの残高からインクルージョンコストを差し引く
set_account_balance(
env.state,
env.coinbase,
U256(coinbase_balance_after_inclusion_cost),
)Consequently, COINBASE bears basic costs such as data availability (DA) and signature verification regardless of the outcome of transaction execution.
Managing inclusion gas
The gas accounting variable gas_available is adjusted in advance to account for inclusion gas. At the start of block execution, the block's gas_limit minus total inclusion gas is used as the initial value of gas_available.
gas_available = block_gas_limit - total_inclusion_gasFor each transaction, gas is then accounted for as follows.
- Before attempting execution, add the transaction's inclusion gas back to
gas_available. - If the transaction is skipped, deduct its inclusion gas from
gas_availableagain. - If it is executed, deduct the gas actually consumed.
The following code implements this process.
for i, tx in enumerate(txs):
...
inclusion_gas = calculate_inclusion_gas_cost(tx)
gas_available += inclusion_gas
(
is_transaction_skipped,
effective_gas_price,
blob_versioned_hashes,
) = check_transaction(
state,
tx,
sender_address,
gas_available,
)
# トランザクションがスキップされた場合、その分のガスを引く
if is_transaction_skipped:
gas_available -= inclusion_gas
else:
gas_used, logs, error = process_transaction(env, tx)
gas_available -= gas_usedWhat is a skipped transaction?
A skipped transaction is one included in a block but not executed. Unlike an executed transaction, it consumes no additional execution gas, and the inclusion cost prepaid by COINBASE is not reimbursed. Its inclusion gas still counts toward the block's resource consumption.
Why transactions are skipped
A transaction can be skipped for several reasons.
- Insufficient sender balance
- The sender cannot cover the maximum gas cost (
max_gas_fee) and the transferred amount (tx.value).
- The sender cannot cover the maximum gas cost (
- Insufficient gas available in the block
- The block's
gas_availableis below the gas amount required by the transaction (tx.gas).
- The block's
- Sender nonce mismatch
- The sender's account
noncedoes not match the transaction nonce.
- The sender's account
- The sender is not an externally owned account (EOA)
- The sender is a contract account that does not satisfy the applicable transaction sender rules, rather than an eligible externally owned account.
The following checks determine whether to skip the transaction.
is_sender_eoa = (
sender_account.code == bytearray()
or is_valid_delegation(sender_account.code)
)
is_transaction_skipped = (
tx.gas > gas_available
or Uint(sender_account.balance) < max_gas_fee + Uint(tx.value)
or sender_account.nonce != tx.nonce
or not is_sender_eoa
)When skipping occurs
Skipping occurs only when a transaction fails a validity check that depends on execution-time state. Static checks such as signature verification have already been performed during block validation; a failure of those checks invalidates the block itself.
Skipped transactions are therefore transactions in an otherwise valid block that cannot be processed when execution is attempted.
Handling executed transactions
When a transaction is executed rather than skipped, the main execution process remains largely unchanged. The difference is that COINBASE receives reimbursement for inclusion costs.
COINBASE compensation
Normally, COINBASE receives the transaction's priority fee (priority_fee). Under the new mechanism, the beneficiary receives both of the following.
- Priority fee (
priority_fee) - Reimbursement of prepaid inclusion costs
The amount is calculated as follows.
inclusion_cost_refund = (
inclusion_gas * base_fee_per_gas
+ blob_gas_used * blob_gas_price
)
# COINBASEに優先手数料とインクルージョンコストの払い戻しを加算
coinbase_balance_after_transaction = (
coinbase_account.balance
+ priority_fee
+ inclusion_cost_refund
)Additional considerations
Requirements for delayed execution
Two main changes are needed to defer execution of a block while allowing its validity to be established in advance.
Deferring execution results
A conventional block header contains the results of executing its transactions, preventing advance validation. Replacing execution-dependent header fields with results from the preceding block allows execution of the current block to be deferred.
The specific changes include the following.
state_rootbecomespre_state_root(the state root before execution).receipt_rootbecomesparent_receipt_root(the parent block's receipt root).requests_hash, which commits to requests defined by EIP-7685, is also delayed by one block.
These changes allow the header of the current block to be validated without executing its transactions. On their own, however, they are insufficient to defer execution completely, because execution would still be required to determine the validity of state-dependent transactions.
Prepayment of inclusion costs by COINBASE
Completing block validation without transaction execution requires the ability to skip transactions that prove invalid at execution time. Under the existing Ethereum design addressed by the proposal, including transactions in a block creates resource costs that must be accounted for, including data availability costs based on the volume of transaction data. Simply skipping invalid transactions without charging for their inclusion would leave those costs unaccounted for.
The proposal therefore requires COINBASE to prepay inclusion costs for all transactions. Even if a transaction is found invalid during execution, the protocol has already collected its inclusion costs, so the transaction can be skipped.
This mechanism enables block validation to proceed quickly while execution of its transactions is deferred.
COINBASE's header signature
By signing the block header, COINBASE explicitly authorizes payment of inclusion costs. The signature establishes that the beneficiary accepts this obligation and plays an important role in validation.
Signature properties
- Signing the header establishes that
COINBASEagrees to bear the block's inclusion costs. - Because the signature commits to the block header, including its identifying fields, it cannot simply be reused to authorize a different block.
- Signature verification confirms that the block's
COINBASEhas authorized the payment.
This makes the beneficiary's responsibility explicit, allows execution-time transaction skipping, and improves the efficiency of the proposed validation process.
Compatibility
The changes are not backward compatible and would require a hard fork.
Security
COINBASE funding requirements
When constructing a block, COINBASE must have sufficient funds to prepay the inclusion costs of all transactions in that block.
Calculating the required funds
The maximum cost that COINBASE must cover is bounded by the sum of the following two components.
- Maximum block gas usage multiplied by the base gas fee (
base_fee_per_gas) - Maximum blob gas usage multiplied by the blob gas price (
blob_gas_price)
For example, if the base gas fee is 100 gwei (0.0000001 ETH) and the block gas limit is 36M gas (36 million gas), COINBASE would need up to 3.6 ETH for the execution-gas component alone (36M multiplied by 100 gwei), with additional funds required for any applicable blob costs. In the worst case, insufficient funds would prevent block creation.
Impact on liquidity
This requirement can impose liquidity constraints on block proposers, particularly when the base gas fee is high. If gas fees rise sharply and COINBASE cannot obtain the required ETH, block proposal may fail.
What are the actual costs?
In most circumstances, the entire block gas limit is not occupied by inclusion gas, so actual inclusion costs are lower than this upper bound.
According to the historical one-year data cited at the time of the proposal, average block inclusion gas was approximately 5.5M gas (5.5 million gas), corresponding to around 0.55 ETH at a base fee of 100 gwei.
Thus, although COINBASE might need 3.6 ETH for the execution-gas component in the worst case of the example, the historical average would require only about 15% of that amount, before accounting for blob costs.
Citation
Francesco D'Amato (@fradamt), Toni Wahrstätter (@nerolation), "EIP-7886: Delayed execution [DRAFT]," Ethereum Improvement Proposals, no. 7886, February 2025. [Online serial]. Available: https://eips.ethereum.org/EIPS/eip-7886.
Conclusion
EIP-7886 proposes validating a block before executing the transactions it contains.

