Challenge Period Explained
Learn why withdrawals from TeQoin L2 to Ethereum require a 7-day waiting period, and how this ensures your funds are always safe.TL;DR:The 7-day challenge period is a security feature that protects your funds by allowing time to detect and prove fraud. It’s not a limitation—it’s what makes TeQoin trustless and secure without relying on centralized parties.
🤔 What is the Challenge Period?
The challenge period is a 7-day waiting time between when you initiate a withdrawal on L2 and when you can finalize it on L1.Timeline
Day 0: Initiate withdrawal on L2Days 1-7: Challenge period (waiting)
Day 7+: Finalize withdrawal on L1
🎯 Why Does It Exist?
The Problem It Solves
Optimistic rollups like TeQoin assume transactions are valid by default. But what if someone tries to cheat? Without a challenge period:Real-World Analogy
Think of it like a bank check: Bank Check (Traditional):- You write a check
- Bank holds it for 3-5 business days
- Time for bank to verify funds exist
- Protects against fraud
- You initiate withdrawal
- Bridge holds it for 7 days
- Time for network to verify it’s valid
- Protects against invalid transactions
🔐 How It Provides Security
Optimistic Rollup Model
Optimistic Assumption
Transactions are assumed to be valid by default.Benefit: Fast processing, low costTrade-off: Need time to verify if challenged
Anyone Can Verify
During the 7-day period, anyone can:
- Download L2 transaction data from L1
- Re-execute transactions independently
- Verify the state is correct
- Submit fraud proof if something is wrong
Fraud Proofs
If someone detects invalid data:
- They submit a fraud proof to L1
- L1 smart contract verifies the proof
- If proof is valid, invalid withdrawal is reverted
- Challenger earns a reward
- Malicious actor is penalized
📊 Challenge Period in Action
What Happens During 7 Days?
- Your Withdrawal
- Network Activity
- If Fraud Detected
Your perspective:
💡 Why 7 Days Specifically?
The Calculation
| Factor | Consideration |
|---|---|
| Detection Time | Need enough time for independent verifiers to notice fraud |
| Proof Generation | Time to compute and submit fraud proofs |
| Network Diversity | Different time zones, various verification setups |
| Safety Margin | Extra buffer for unexpected delays |
| Emergency Response | Time for community to coordinate if needed |
- ✅ Strong security (enough time to catch fraud)
- ✅ Reasonable UX (not too long to wait)
- ✅ Industry standard (same as Optimism, Arbitrum)
Could It Be Shorter?
Technically yes, but:- ❌ Less time = less security
- ❌ Harder for independent verification
- ❌ More centralization required
- ❌ Higher risk of successful fraud
🆚 Comparison with Other L2s
Industry Standard
| L2 Solution | Challenge Period | Technology |
|---|---|---|
| TeQoin | 7 days | Optimistic Rollup |
| Optimism | 7 days | Optimistic Rollup |
| Arbitrum | 7 days | Optimistic Rollup |
| Base | 7 days | Optimistic Rollup |
| zkSync | ~Hours | ZK Rollup (no challenge needed) |
| Polygon zkEVM | ~Hours | ZK Rollup (no challenge needed) |
Why do ZK rollups not need challenge periods?ZK (zero-knowledge) rollups use cryptographic proofs that are verified instantly on L1. They’re mathematically proven correct, so no challenge period is needed.Trade-offs:
- ZK: Faster withdrawals, higher complexity, more expensive proving
- Optimistic: 7-day withdrawals, simpler, cheaper operations
🤷 Common Misconceptions
Misconception: 'The 7 days is a technical limitation'
Misconception: 'The 7 days is a technical limitation'
Reality: It’s a deliberate security feature, not a technical constraint.TeQoin could process withdrawals instantly from a technical perspective, but that would require trusting the sequencer. The 7-day period enables trustless security.It’s a feature, not a bug!
Misconception: 'My funds are locked up during the 7 days'
Misconception: 'My funds are locked up during the 7 days'
Reality: Your funds are secured by L1 smart contracts during the challenge period.
- Your L2 ETH was already burned (can’t be double-spent)
- Your L1 ETH is reserved in the bridge (can’t be taken)
- The challenge period is verification time, not a “lock”
Misconception: 'I need to actively watch my withdrawal'
Misconception: 'I need to actively watch my withdrawal'
Reality: The network automatically protects you.You don’t need to:
- Monitor your withdrawal
- Submit proofs yourself
- Defend against challenges
- Do anything during the 7 days
Misconception: 'Challenge period means the system is insecure'
Misconception: 'Challenge period means the system is insecure'
Reality: It’s the opposite—the challenge period IS the security.Without it:
- You’d have to trust the sequencer completely
- No way to prove fraud
- Centralized control
- Trustless verification
- Decentralized security
- Provable correctness
Misconception: 'It should be instant like deposits'
Misconception: 'It should be instant like deposits'
Reality: Deposits and withdrawals have different security models.Deposits (L1 → L2):
- Ethereum L1 is the source of truth
- L1 transaction is final when confirmed
- Safe to credit on L2 immediately
- Fast: ~15 minutes
- L2 is claiming from L1
- Need to verify L2 state is correct
- Challenge period ensures validity
- Secure: 7 days
⚡ Can I Avoid the Challenge Period?
Official Bridge: No
The official TeQoin bridge always requires 7 days for security. This cannot be bypassed.Third-Party Bridges: Yes (with trade-offs)
Some third-party services offer “fast withdrawals”:- How They Work
- Pros & Cons
- Examples
Liquidity Provider Model:
- You initiate withdrawal on L2
- Liquidity provider gives you ETH immediately on L1
- Provider waits 7 days to claim your withdrawal
- You pay a fee for the instant liquidity
🎓 Technical Deep Dive
For Developers and Technical Users
State Root Commitments
State Root Commitments
How L2 state is committed to L1:
- Sequencer batches L2 transactions
- Computes new state root (Merkle root)
- Posts state root to L1 every ~X hours
- State root represents all L2 account balances
Fraud Proof System
Fraud Proof System
How fraud is detected and proven:Detection:
- Verifier downloads transaction batch from L1
- Re-executes transactions locally
- Computes expected state root
- Compares with sequencer’s posted state root
- If mismatch → fraud detected
- Verifier identifies fraudulent transaction
- Generates Merkle proof showing discrepancy
- Submits fraud proof to L1 contract
- L1 contract re-executes single transaction
- Verifies fraud proof is correct
- Slashes sequencer, rewards challenger
Withdrawal Process Internals
Withdrawal Process Internals
Under the hood:The Merkle proof connects the L2 event to the L1 state root, proving the withdrawal is legitimate.
💭 Philosophy: Security vs. Convenience
The Trade-off
📌 Key Takeaways
Security Feature
The 7-day period is a security feature, not a limitation
Trustless
Enables trustless operation without relying on centralized parties
Automatic
Protection is automatic - you don’t need to do anything
Industry Standard
7 days is the standard for all major optimistic rollups
Fraud Prevention
Allows time to detect and prove fraud if it occurs
Your Funds Are Safe
During challenge period, your funds are secured by L1 contracts
🎯 Practical Implications
For Users
For Developers
📚 Learn More
Withdrawal Guide
Complete guide to withdrawing from L2 to L1
Bridge FAQ
Common questions about the bridge
Security Model
Technical details on TeQoin’s security
Optimistic Rollup
How optimistic rollups work
Understand the challenge period? Ready for Bridge FAQ →