Skip to content

Commit 927b4ae

Browse files
removing incorrect class diagrams
1 parent e91b0c2 commit 927b4ae

File tree

9 files changed

+2
-65
lines changed

9 files changed

+2
-65
lines changed
-686 KB
Binary file not shown.
-652 KB
Binary file not shown.
-17.1 MB
Binary file not shown.
Binary file not shown.

docs/zkEVM/architecture/high-level/overview.md

Lines changed: 0 additions & 43 deletions
This file was deleted.

docs/zkEVM/architecture/high-level/smart-contracts/bridging.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
![Polygon Solidity smart contract bridging architecture](../../../../img/cdk/high-level-architecture/bridging-class-diagram.png)
2-
31
The unified bridge transfers assets and messages between networks (L1, L2) by calling bridge and claim functions on the [PolygonZkEVMBridgeV2.sol](https://github.com/0xPolygonHermez/zkevm-contracts/blob/main/contracts/v2/PolygonZkEVMBridgeV2.sol) contract whose deployment address is an [upgradeable proxy](https://etherscan.io/address/0x2a3DD3EB832aF982ec71669E178424b10Dca2EDe#code). Interaction with the actual contract happens via the proxy.
42

53
This contract is deployed on L1 and there is also one deployed on every L2 network. It communicates closely with an exit root manager contract specific to L1 or L2.

docs/zkEVM/architecture/high-level/smart-contracts/exit-roots.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
The class diagram below describes how the exit root contracts communicate with the bridge and the rollup manager.
2-
3-
![Polygon Solidity smart contract bridging architecture](../../../../img/cdk/high-level-architecture/exit-root-class-diagram.png)
4-
51
An exit tree is a binary, append-only, sparse Merkle tree (SMT) whose leaf nodes store bridging data. The exit trees have a depth of 32.
62

73
The Merkle root of an exit tree is known as the exit tree root, and it is the fingerprint of all the information recorded in the exit tree's leaf nodes.

docs/zkEVM/architecture/high-level/smart-contracts/overview.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ comments: true
66

77
Chain stacks at the node level direct transaction data to the L2 and L1 networks via smart contract calls. The system stores state in binary tree structures containing verifiable local and global exit roots.
88

9-
The diagram below details the Polygon Solidity smart contract architecture minus the bridging contracts.
10-
11-
![Polygon Solidity smart contract architecture](../../../../img/cdk/high-level-architecture/smart-contracts-full-view.png)
12-
139
There are four key contract types built into the system design:
1410

1511
- The [consensus contract set](#consensus-contracts).
@@ -37,10 +33,6 @@ The [PolygonRollupManager.sol](https://github.com/0xPolygonHermez/zkevm-contract
3733

3834
## Bridge
3935

40-
The class diagram below describes the unified bridge interactions.
41-
42-
![Polygon Solidity smart contract bridging architecture](../../../../img/cdk/high-level-architecture/bridging-class-diagram.png)
43-
4436
The unified bridge contract [PolygonZkEVMBridgeV2.sol](https://github.com/0xPolygonHermez/zkevm-contracts/blob/main/contracts/v2/PolygonZkEVMBridgeV2.sol) is responsible for bridging and claiming activity across L1 and L2 chains.
4537

4638
<center>
@@ -51,10 +43,6 @@ In the L1 network, the bridge also manages the complex exit root mechanism gover
5143

5244
## Global exit roots
5345

54-
The class diagram below describes the exit root interactions.
55-
56-
![Polygon Solidity smart contract bridging architecture](../../../../img/cdk/high-level-architecture/exit-root-class-diagram.png)
57-
5846
System state as a whole is stored on binary trees with data and/or exit roots written into their leaves.
5947

6048
Local updates at the leaf-level trigger exit root updates at the top of the trees which are then available to the global exit root trees and the consensus contracts via the L1 bridge contract.

mkdocs.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ nav:
109109
- Start services: zkEVM/get-started/setup-nodes/deploy-zkevm/start-services.md
110110
- Sync state with snapshots: zkEVM/get-started/state-sync-snapshots.md
111111
- Historical data: zkEVM/get-started/historical-data.md
112-
- Architecture high-level:
113-
- Overview: zkEVM/architecture/high-level/overview.md
112+
- Architecture:
113+
- Architecture: zkEVM/architecture/index.md
114114
- Smart contracts:
115115
- Overview: zkEVM/architecture/high-level/smart-contracts/overview.md
116116
- Main contracts: zkEVM/architecture/high-level/smart-contracts/main-contracts.md
@@ -148,8 +148,6 @@ nav:
148148
- Utils:
149149
- ClaimCompressor.sol: zkEVM/architecture/high-level/smart-contracts/api/utils/ClaimCompressor.md
150150
- Addresses: zkEVM/architecture/high-level/smart-contracts/addresses.md
151-
- Architecture low-level:
152-
- Architecture: zkEVM/architecture/index.md
153151
- zkEVM protocol:
154152
- zkEVM protocol: zkEVM/architecture/protocol/index.md
155153
- zkNode: zkEVM/architecture/zknode/index.md

0 commit comments

Comments
 (0)