File tree
6 files changed
+106
-42
lines changed- zk_toolbox/crates
- config/src
- forge_interface/deploy_l2_contracts
- zk_inception/src/commands/chain
6 files changed
+106
-42
lines changed- l1-contracts/contracts/bridge/L1SharedBridge.sol+52-1
- l1-contracts/contracts/bridge/interfaces/IL1SharedBridge.sol+15
- l1-contracts/deploy-script-config-template/config-deploy-l2-config.toml+1
- l1-contracts/deploy-scripts/DeployL2Contracts.sol+78-1
- l1-contracts/test/foundry/unit/concrete/Bridges/L1SharedBridge/L1SharedBridgeAdmin.t.sol+26
- l1-contracts/test/foundry/unit/concrete/Bridges/L1SharedBridge/L1SharedBridgeFails.t.sol+3-3
- l1-contracts/test/foundry/unit/concrete/Bridges/L1SharedBridge/_L1SharedBridge_Shared.t.sol+7-1
- l2-contracts/contracts/ConsensusRegistry.sol+486
- l2-contracts/contracts/interfaces/IConsensusRegistry.sol+161
- l2-contracts/package.json+2-1
- l2-contracts/src/deploy-consensus-registry.ts+90
- l2-contracts/src/utils.ts+21
- l2-contracts/test/consensusRegistry.test.ts+499
Lines changed: 12 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
8 |
| - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
9 | 11 |
| |
10 | 12 |
| |
11 | 13 |
| |
| |||
84 | 86 |
| |
85 | 87 |
| |
86 | 88 |
| |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
87 | 97 |
| |
88 | 98 |
| |
89 | 99 |
| |
| |||
140 | 150 |
| |
141 | 151 |
| |
142 | 152 |
| |
| 153 | + | |
143 | 154 |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
| 9 | + | |
| 10 | + | |
9 | 11 |
| |
10 | 12 |
| |
11 | 13 |
| |
| |||
14 | 16 |
| |
15 | 17 |
| |
16 | 18 |
| |
| 19 | + | |
17 | 20 |
| |
18 | 21 |
| |
19 | 22 |
| |
| |||
27 | 30 |
| |
28 | 31 |
| |
29 | 32 |
| |
| 33 | + | |
30 | 34 |
| |
31 | 35 |
| |
32 | 36 |
|
Lines changed: 7 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
8 | 7 |
| |
| 8 | + | |
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + |
Lines changed: 75 additions & 38 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
| 14 | + | |
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
| |||
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
34 |
| - | |
| 34 | + | |
| 35 | + | |
35 | 36 |
| |
36 | 37 |
| |
37 | 38 |
| |
| |||
70 | 71 |
| |
71 | 72 |
| |
72 | 73 |
| |
73 |
| - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
74 | 85 |
| |
75 | 86 |
| |
76 | 87 |
| |
| |||
88 | 99 |
| |
89 | 100 |
| |
90 | 101 |
| |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
91 | 121 |
| |
92 | 122 |
| |
93 | 123 |
| |
94 | 124 |
| |
95 | 125 |
| |
96 | 126 |
| |
97 | 127 |
| |
98 |
| - | |
99 |
| - | |
| 128 | + | |
100 | 129 |
| |
101 | 130 |
| |
102 | 131 |
| |
103 | 132 |
| |
104 | 133 |
| |
| 134 | + | |
| 135 | + | |
| 136 | + | |
105 | 137 |
| |
106 |
| - | |
107 |
| - | |
108 |
| - | |
109 |
| - | |
110 |
| - | |
111 |
| - | |
112 |
| - | |
113 |
| - | |
| 138 | + | |
114 | 139 |
| |
115 | 140 |
| |
116 | 141 |
| |
| |||
120 | 145 |
| |
121 | 146 |
| |
122 | 147 |
| |
123 |
| - | |
124 |
| - | |
| 148 | + | |
125 | 149 |
| |
126 | 150 |
| |
127 | 151 |
| |
128 | 152 |
| |
129 | 153 |
| |
| 154 | + | |
| 155 | + | |
| 156 | + | |
130 | 157 |
| |
131 |
| - | |
132 |
| - | |
133 |
| - | |
134 |
| - | |
135 |
| - | |
136 |
| - | |
137 |
| - | |
138 |
| - | |
| 158 | + | |
139 | 159 |
| |
140 | 160 |
| |
141 |
| - | |
| 161 | + | |
142 | 162 |
| |
143 | 163 |
| |
144 | 164 |
| |
145 | 165 |
| |
146 | 166 |
| |
147 | 167 |
| |
148 |
| - | |
149 |
| - | |
150 |
| - | |
| 168 | + | |
151 | 169 |
| |
152 |
| - | |
153 |
| - | |
154 |
| - | |
155 |
| - | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
156 | 180 |
| |
157 |
| - | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
158 | 189 |
| |
159 |
| - | |
160 |
| - | |
161 |
| - | |
162 |
| - | |
163 |
| - | |
164 |
| - | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
165 | 202 |
| |
166 | 203 |
| |
167 | 204 |
| |
|
Lines changed: 7 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
| 34 | + | |
| 35 | + | |
| 36 | + | |
34 | 37 |
| |
35 | 38 |
| |
36 | 39 |
| |
| |||
48 | 51 |
| |
49 | 52 |
| |
50 | 53 |
| |
| 54 | + | |
| 55 | + | |
| 56 | + | |
51 | 57 |
| |
52 | 58 |
| |
53 | 59 |
| |
54 | 60 |
| |
55 |
| - | |
| 61 | + | |
56 | 62 |
| |
57 | 63 |
| |
58 | 64 |
| |
|
0 commit comments