Skip to content

Commit ab237af

Browse files
authored
Merge pull request 0xPolygon#2605 from 0xPolygon/jaime-dev
Agglayer: overview.md, pessimistic-proof.md, unified-bridge.md, agglayer-node.md
2 parents f5f4d41 + a2be5b7 commit ab237af

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

docs/agglayer/architecture/agglayer-node.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
**The Agglayer node** is the Rust-based service designed to receive zero-knowledge proofs from Agglayer-connected chains, verify their validity, and send them to the L1 for final settlement.
66

7-
> **Note:** Instructions on how to clone and build the Agglayer locally, including running the pessimistic proof test suite and generating a verifiable proof using Succinct’s Prover Network, can be found [here](#).
7+
!!! note
8+
Instructions on how to clone and build the Agglayer locally, including running the pessimistic proof test suite and generating a verifiable proof using Succinct’s Prover Network, can be found [here](https://github.com/agglayer/agglayer/blob/main/README.md)
89

910
## Crate directory
1011

docs/agglayer/architecture/pessimistic-proof.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,12 @@ For any cross-chain token transfer to be finalized such that the token may be wi
2323
!!! note
2424
For more on how the Agglayer settles bridge claims to the underlying L1, see: [Unified Bridge](/agglayer/architecture/unified-bridge/)
2525

26+
2627
## Token State
2728
Each chain maintains a data structure called a **Local Exit Tree**, which contains only the messages and token transfers originating from it. In the unified bridge, Ethereum holds a **Global Exit Root**, which represents a tree containing all of the Local Exit Roots of chains integrated with the AggLayer.
2829

2930
!!! note
30-
For a detailed breakdown of all data used by the Agglayer, see: [Unified Bridge: Data Structures](/agglayer/architecture/unified-bridge.md#unified-bridge-data-structures)
31+
For a detailed breakdown of all data used by the Agglayer, see: [Unified Bridge: Data Structures](../../agglayer/architecture/unified-bridge.md#unified-bridge-data-structures)
3132

3233
In a simple token transfer, the source chain’s **Local Exit Tree** is used to reduce the balance of available tokens on its **Local Balance Tree**.
3334

docs/agglayer/architecture/unified-bridge.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ Functionally similar to the **Local Exit Root**, but it tracks the bridging acti
3434
When the **Mainnet Exit Root** is updated in `PolygonZkEVMBridgeV2.sol`, the contract then updates `mainnetExitRoot` in `PolygonZkEVMGlobalExitRootV2.sol`.
3535

3636
### Global Exit Root, L1 Info Tree, Global Index
37-
**Global Exit Root** is the hash of the **Rollup Exit Root** and **Mainnet Exit Root**. When a new **Rollup Exit Root** or **Mainnet Exit Root** is submitted, the contract appends the new **Global Exit Root** to the **L1 Info Tree**.
38-
**L1 Info Tree** is a **Sparse Merkle Tree** that maintains Global Exit Roots. It is a binary tree with a height of 32, updated every time a new Global Exit Root is submitted.
39-
**Global Index** is a **256-bit string** used to locate the unique leaf in the latest **Global Exit Tree** when creating and verifying SMT proofs.
37+
**Global Exit Root** is the hash of the Rollup Exit Root and Mainnet Exit Root. When a new Rollup Exit Root or Mainnet Exit Root is submitted, the contract appends the new **Global Exit Root** to the **L1 Info Tree**.
38+
**L1 Info Tree** is a Sparse Merkle Tree that maintains Global Exit Roots. It is a binary tree with a height of 32, updated every time a new Global Exit Root is submitted.
39+
**Global Index** is a 256-bit string used to locate the unique leaf in the latest **Global Exit Tree** when creating and verifying SMT proofs.
4040

4141
## Bridge Service
4242

0 commit comments

Comments
 (0)