Force Inclusion is a cryptoeconomic security mechanism that enables a transaction to be guaranteed inclusion in a blockchain's next block, even if a block producer (e.g., a miner or validator) attempts to censor or ignore it. It is a critical component for ensuring liveness and censorship resistance in decentralized networks, particularly in rollups and other Layer 2 scaling solutions. The mechanism typically requires the transaction submitter to attach a sufficient fee or bond to incentivize honest behavior from the sequencer or block builder.
Force Inclusion
What is Force Inclusion?
A protocol-level mechanism that allows a transaction to be included in a block, overriding a block producer's discretion.
The process often involves a challenge period or a direct call to a smart contract on the parent chain (Layer 1). If a sequencer on a rollup fails to include a valid transaction within a specified time window, the user can submit a proof to the L1 contract, which then forces the transaction's inclusion. This acts as a credible threat, ensuring sequencers have a strong economic incentive to process transactions honestly and promptly to avoid losing their fees or facing penalties.
A primary use case is in Optimistic Rollups, where users can force-include withdrawal transactions if the sequencer is unresponsive or malicious. The mechanism relies on the underlying L1's security for finality. Its design must carefully balance security with efficiency, as excessive force inclusion operations can burden the L1 chain. Variations exist, such as Ethereum's forceFeed concept for proposer-builder separation (PBS) or Arbitrum's delayed inbox for guaranteed message inclusion.
From a system design perspective, force inclusion is a countermeasure to miner extractable value (MEV) and censorship. It ensures that no single actor can create a blacklist for transactions based on their content or origin. However, it is not instantaneous; the required delay is a trade-off that allows for operational efficiency under normal conditions while providing a powerful escape hatch for users when the system fails.
How Force Inclusion Works
Force inclusion is a protocol-level mechanism that guarantees a transaction will be included in a future block, preventing indefinite censorship by block producers.
Force inclusion is a censorship resistance mechanism that allows a user to compel a sequencer or block producer to include a delayed transaction in a future block. It acts as a backstop when a transaction is not being processed in a timely manner, typically after a predefined time window or maximum sequence time has elapsed. This ensures that users cannot have their transactions censored indefinitely, preserving the fundamental property of permissionless access to the blockchain. The mechanism is a critical component of rollup architectures, where a centralized sequencer could otherwise selectively ignore transactions.
The process is often initiated by submitting a transaction directly to an L1 (Layer 1) contract, such as the canonical transaction chain on an Optimistic Rollup. This on-chain proof demonstrates that the transaction was valid and should have been included earlier. Once the force inclusion request is validated, the protocol's rules mandate that the sequencer must include it in the next available batch or block. Failure to do so can result in slashing the sequencer's bond or triggering a fault proof, making the mechanism economically enforced.
A key prerequisite for force inclusion is that the transaction must be sequenced first—its order must be established and recorded, often in a calldata batch on L1, before the inclusion delay timer starts. This prevents users from spamming the network with invalid requests. The design creates a clear escalation path: normal sequencer inclusion -> L1 force inclusion request -> guaranteed inclusion. This layered approach balances efficiency (fast, cheap sequencer processing) with robust liveness guarantees (slow, expensive but certain L1 fallback).
In practice, force inclusion is a last-resort tool due to higher costs and longer confirmation times associated with L1 interaction. However, its mere existence is a powerful deterrent against malicious sequencer behavior. It is analogous to the Ethereum mempool's role in preventing validator censorship, but implemented at the rollup protocol level. This mechanism is formally specified in protocols like Arbitrum and Optimism, ensuring users have a sovereign exit option even under adversarial conditions.
Key Features & Properties
Force inclusion is a mechanism that allows a transaction to bypass the standard mempool and be included directly in a block, ensuring timely execution even during network congestion.
Mechanism & Guarantee
Force inclusion is a cryptoeconomic guarantee that a transaction submitted to a sequencer will be included in the next L2 block within a specified time window. If the sequencer fails to do so, users can submit the transaction directly to the L1 rollup contract, which forces its inclusion. This acts as a liveness safeguard against malicious or unresponsive sequencers.
Time Delay & Deadlines
The mechanism is not instantaneous. A delay period (e.g., 24 hours in Optimism) must elapse before a force-included transaction can be submitted to L1. This gives the honest sequencer time to include it normally. The transaction must also be submitted before a final deadline (e.g., 7 days) or it may become invalid, protecting the system from stale data.
L1 Submission Cost
Submitting a transaction via force inclusion requires paying the L1 gas fee, which is typically much higher than L2 fees. This cost is borne by the user invoking the mechanism. The high cost makes it a tool of last resort, but its existence ensures the sequencer cannot indefinitely censor transactions without economic consequence.
Core Use Case: Censorship Resistance
The primary purpose is to provide censorship resistance. It ensures users can always exit an L2 or execute critical transactions (like withdrawing funds) even if the sequencer refuses to process them. This property is fundamental for trust minimization and is a key security feature of optimistic and validium rollups.
Implementation in Rollups
- Optimistic Rollups: Force inclusion is a standard feature, implemented via the
enqueueTransactionfunction in the Canonical Transaction Chain. - Validiums & Volitions: It is critical for data availability, allowing users to force-post data to L1 if the Data Availability Committee fails.
- ZK-Rollups: While possible, the need is less acute due to faster finality, but similar mechanisms exist for liveness guarantees.
Related Concept: Escape Hatches
Force inclusion is a specific type of escape hatch or withdrawal mechanism. It is distinct from:
- Fraud proofs: Which challenge invalid state.
- Direct L1 withdrawals: Which rely on proven state. Force inclusion ensures the transaction is processed on L2, preserving its context and nonce ordering within the rollup's state transition.
Force Inclusion
Force inclusion is a critical security mechanism in blockchain transaction processing that ensures user transactions cannot be indefinitely censored or delayed by block producers.
Force inclusion is a protocol-level guarantee that allows a transaction to be included in a block after a specified period, even if block producers (e.g., validators or sequencers) attempt to censor it. This mechanism is a foundational component of credible neutrality and liveness in decentralized systems, particularly within rollup architectures and mempool design. It operates by assigning a temporal parameter, often called a maxBlockGasLimit or inclusion deadline, after which the transaction must be processed, overriding any malicious or profit-driven exclusion by the current block builder.
The technical implementation typically involves a special transaction type or a rule in the consensus client that mandates inclusion. For example, in an optimistic rollup, a user can submit a transaction directly to an L1 smart contract (like an inbox) if the L2 sequencer fails to include it within a predefined time window. This creates a cryptographic proof of the transaction's existence and age, forcing the next honest validator to process it. This design directly combats maximal extractable value (MEV) extraction strategies like transaction frontrunning and censorship by providing users with a reliable fallback.
Force inclusion is essential for applications requiring strong safety guarantees, such as decentralized exchanges (DEXs) with time-sensitive arbitrage opportunities or bridging operations where fund recovery is time-critical. Without it, a single centralized sequencer could become a bottleneck or point of failure, undermining the trustless properties of the chain. Protocols like Arbitrum and Optimism implement variations of this mechanism, often referenced in their fraud proof or dispute resolution systems, to ensure users always have a path to finalize their transactions on the base layer.
Implementation in Major Rollups
Force inclusion is a critical L1-L2 interoperability mechanism. This section details how major rollups implement it to guarantee transaction finality and censorship resistance.
Key Implementation Variables
The behavior of force inclusion is governed by key parameters set in each rollup's L1 contracts:
- Delay Period: The mandatory waiting time (e.g., 24h, 2min) before a force-inclusion request is valid.
- Gas Cost & Pricing: Force-included transactions often pay a premium or use a distinct pricing model.
- Submission Window: The timeframe in which a request must be executed after becoming valid.
- Ordering Rule: How force-included transactions are ordered relative to Sequencer batches (usually by L1 block number).
Economic & Security Role
Force inclusion is not just a user escape hatch; it's a core security mechanism. It:
- Disincentivizes Censorship: Makes it economically irrational for a Sequencer to withhold transactions.
- Guarantees L1 Finality: Ensures any transaction can eventually be recorded on the base layer, the ultimate source of truth.
- Enables Trustless Withdrawals: Critical for allowing users to exit the rollup even if the Sequencer is malicious.
- Defines Liveness Assumption: The system's liveness relies on at least one honest actor being able to use the L1 force inclusion function.
Force Inclusion vs. Validium Data Availability
A comparison of two primary methods for ensuring data is available for fraud proofs in Layer 2 systems.
| Feature / Metric | Force Inclusion (Rollup) | Validium |
|---|---|---|
Core Data Location | Posted to Layer 1 (e.g., Ethereum calldata) | Posted off-chain to a Data Availability Committee (DAC) or similar |
Data Availability Guarantee | Inherits L1 security; data is censorship-resistant | Depends on the honesty of the DAC or proof system |
Withdrawal Security | Users can force-include a withdrawal via L1 if sequencer is down | Users cannot force withdrawal without DAC signatures or valid proof |
Throughput (TPS) / Cost | Higher cost per transaction, lower potential TPS | Lower cost per transaction, higher potential TPS |
Trust Assumption | Trustless (cryptoeconomic security of L1) | Trusted (honest majority of DAC members) |
Primary Use Case | High-value assets, maximum security | High-frequency, low-value transactions, gaming |
Fraud Proof Feasibility | Always possible; verifiers have full data | Only possible if data is made available by the DAC |
Example Implementations | Optimism, Arbitrum, zkSync Era | StarkEx, zkSync Era (ZK Porter), Immutable X |
Practical Considerations for Users & Developers
Force inclusion is a mechanism that allows transactions to bypass the standard mempool and be included directly in a block, primarily used for time-sensitive operations or to guarantee execution. Understanding its use cases and limitations is crucial for developers and users.
Primary Use Case: MEV Protection
Force inclusion is most commonly used to protect against Maximal Extractable Value (MEV) attacks, such as front-running or sandwich attacks. By submitting a transaction directly to a sequencer with a future timestamp, users can guarantee its execution in a specific block, making it impossible for opportunistic validators to reorder or censor it for profit.
- Key Mechanism: The transaction is held by the sequencer and included at the specified block height.
- Target Users: Traders executing large swaps, users closing leveraged positions, or anyone requiring guaranteed, uncensored transaction ordering.
Technical Implementation & Constraints
Implementing force inclusion requires specific protocol support and adherence to strict rules. On Optimistic Rollups like Arbitrum, it's implemented via the Delayed Inbox. Key constraints include:
- Queue Position: Transactions are placed in a first-in-first-out (FIFO) queue.
- Time Delay: A mandatory delay period (e.g., 24 hours on Arbitrum One) exists before inclusion to allow for fraud proofs.
- Gas Limits: The transaction must conform to the block gas limit of the destination layer.
- Nonce Management: The account nonce must be valid at the time of forced inclusion, not submission.
Critical Limitation: The Time Delay
The most significant practical limitation is the mandatory delay period. This design is a security feature of Optimistic Rollups, allowing time for fraud proofs to be submitted. However, it renders classic force inclusion useless for real-time protection.
- Consequence: A transaction submitted for force inclusion today is only executable tomorrow, which does not protect against immediate MEV.
- Developer Consideration: This makes force inclusion unsuitable for most DeFi applications requiring instant execution. Its utility is currently for very specific, pre-planned operations where the exact future block is known.
The Future: Instant Force Inclusion with ZK-Rollups
Zero-Knowledge (ZK) Rollups present a paradigm shift. Because they use validity proofs instead of fraud proofs, transactions can be verified instantly. This enables the potential for instant force inclusion with no delay.
- How it works: A user could submit a transaction with a proof directly to a prover or validator, demanding inclusion in the next proven state update.
- Impact: This could finally realize the original goal of real-time, MEV-resistant transaction guarantees, making it a powerful tool for developers building high-stakes financial applications on L2s.
User Workflow & Best Practices
For users needing to execute a force inclusion transaction, the workflow is precise:
- Construct Transaction: Build your transaction with all necessary parameters (to, data, value).
- Set Future Block Number: Calculate and set the
blockNumberfield for a future L2 block (current block + delay period). - Submit to Delayed Inbox: Send the transaction to the rollup's specific force inclusion interface (e.g., Arbitrum's
DelayedInboxcontract). - Monitor & Execute: After the delay, the sequencer will include it. You do not need to resubmit.
Best Practice: Always verify the exact delay period and inbox address for your specific rollup network.
Distinction from Flashbots & Private RPCs
It's important to distinguish force inclusion from other anti-MEV tools:
- Flashbots Protect / RPC Private Transactions: These services submit transactions directly to block builders on Ethereum, bypassing the public mempool. They offer real-time protection but rely on builder cooperation and are not a protocol-level guarantee.
- Force Inclusion: A protocol-level guarantee enforced by rollup code. It is not real-time on Optimistic Rollups but is cryptographically assured once the delay passes.
Developer Choice: Use private RPCs for immediate, best-effort protection. Use force inclusion for guaranteed, non-real-time execution where censorship resistance is paramount.
Frequently Asked Questions
Force inclusion is a critical mechanism in Ethereum's transaction ordering, designed to protect users from censorship. These questions cover its purpose, mechanics, and practical implications.
Force inclusion is a censorship-resistance mechanism on Ethereum that allows a transaction to bypass the standard mempool and be included directly in a block by a block builder. It works by submitting a transaction with a maxPriorityFeePerGas and maxFeePerGas of zero to a trusted relay, which is then obligated to include it in the next block proposal it builds, ensuring the transaction cannot be ignored.
This mechanism is crucial for time-sensitive operations, such as withdrawing from a liquid staking pool or executing a DeFi liquidation, where a delay could result in significant financial loss. It relies on the builder's commitment to the protocol rules enforced by the relay.
Get In Touch
today.
Our experts will offer a free quote and a 30min call to discuss your project.