Rename state-transition-proof.md to state-2transition-proof.md #23
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.



State Transition Proof
Overview
The State Transition Proof is Agglayer's trust validation process that ensures the security and validity of cross-chain operations. It works as a comprehensive verification system with two layers: internal state transition verification and cross-chain verification.
Two-Layer Verification Model
1. State Transition Proof (Validity Proof)
This layer verifies that each chain's internal state transitions are valid. It ensures that all transactions within a chain are properly executed and the chain's state is consistent. This is implemented through:
2. Cross-Chain Verification (Aggchain Proof & Pessimistic Proof)
This layer verifies that cross-chain operations (like asset transfers between chains) are valid. It ensures that when assets move between chains, the operations are atomic and secure through:
Verification Methods
ECDSA Verification
The ECDSA implementation uses a trusted sequencer that signs off on state changes to ensure they are valid. When a chain wants to update its state or perform cross-chain operations, the trusted sequencer must verify and sign these changes using their private key.
Validity Proof Verification
The Validity Proof (Full execution proof, aka
fep) provides comprehensive verification of chain operations, used incdk-op-geth. It verifies every aspect of a chain's state transition and bridge constraints.Aggchain Proof
Aggchain Proof is a flexible verification system that supports different types of consensus mechanisms for proving chain state transitions. It combines internal chain verification with bridge verification to ensure both operations are secure.
Data Structure
Execution Process
How It Works
The State Transition Proof process follows three main steps:
Step 1: Internal Verification
Step 2: Aggchain Proof
AggchainProofPublicValuesStep 3: Pessimistic Proof
!!! note
A state root is accepted only when both internal state transition verification and cross-chain verification succeed. This dual-layer approach ensures that Agglayer can maintain security while supporting different types of chains with varying consensus mechanisms.