Commit b05861d
authored
feat(zkstack): Remove Redundant fields from inputs (#4602)
## What ❔
<!-- What are the changes this PR brings about? -->
<!-- Example: This PR adds a PR template to the repo. -->
<!-- (For bigger PRs adding more context is appreciated) -->
## Why ❔
<!-- Why are these changes done? What goal do they contribute to? What
are the principles behind them? -->
<!-- The `Why` has to be clear to non-Matter Labs entities running their
own ZK Chain -->
<!-- Example: PR templates ensure PR reviewers, observers, and future
iterators are in context about the evolution of repos. -->
## Is this a breaking change?
- [ ] Yes
- [ ] No
## Operational changes
<!-- Any config changes? Any new flags? Any changes to any scripts? -->
<!-- Please add anything that non-Matter Labs entities running their own
ZK Chain may need to know -->
## Checklist
<!-- Check your PR fulfills the following items. -->
<!-- For draft PRs check the boxes as you complete them. -->
- [ ] PR title corresponds to the body of PR (we generate changelog
entries from PRs).
- [ ] Tests for the changes have been added / updated.
- [ ] Documentation comments have been added / updated.
- [ ] Code has been formatted via `zkstack dev fmt` and `zkstack dev
lint`.
---------
Signed-off-by: Danil <[email protected]>1 parent 98af441 commit b05861d
File tree
19 files changed
+153
-368
lines changed- core/lib/constants/src
- zkstack_cli/crates
- config/src
- forge_interface
- deploy_ctm
- deploy_ecosystem
- gateway_vote_preparation
- register_chain
- upgrade_ecosystem
- zkstack/src/commands
- chain
- ctm/commands
- dev/commands/upgrades
- ecosystem
19 files changed
+153
-368
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| 128 | + | |
- AllContractsHashes.json+916-756
- configs/genesis/era/latest.json+3-3
- configs/genesis/era/latest.toml+3-3
- l1-contracts/contracts/common/l2-helpers/IL2ToL1MessengerEra.sol+1-1
- l1-contracts/contracts/common/l2-helpers/IL2ToL1MessengerZKSyncOS.sol+25
- l1-contracts/contracts/common/l2-helpers/L2ContractAddresses.sol+30-9
- l1-contracts/contracts/common/libraries/ZKSyncOSBytecodeInfo.sol+2-2
- l1-contracts/contracts/interop/InteropHandler.sol+12
- l1-contracts/contracts/l2-system/zksync-os/Burner.sol+14
- l1-contracts/contracts/l2-system/zksync-os/L1MessageGasLib.sol+27
- l1-contracts/contracts/l2-system/zksync-os/L1Messenger.sol+61
- l1-contracts/contracts/l2-system/zksync-os/L2BaseToken.sol+72
- l1-contracts/contracts/l2-system/zksync-os/ZKOSContractDeployer.sol+34
- l1-contracts/contracts/l2-system/zksync-os/ZKOSContractHelper.sol+37
- l1-contracts/contracts/l2-system/zksync-os/errors/ZKOSContractErrors.sol+16
- l1-contracts/contracts/l2-system/zksync-os/interfaces/IZKOSContractDeployer.sol+1-1
- l1-contracts/contracts/l2-upgrades/L2GenesisForceDeploymentsHelper.sol+73-5
- l1-contracts/contracts/l2-upgrades/L2GenesisUpgrade.sol+13
- l1-contracts/contracts/state-transition/ChainTypeManagerBase.sol+5
- l1-contracts/contracts/state-transition/verifiers/ZKsyncOSVerifierPlonk.sol+5-5
- l1-contracts/contracts/transactionFilterer/PrividiumTransactionFilterer.sol+46-30
- l1-contracts/deploy-scripts/AdminFunctions.s.sol+1-1
- l1-contracts/deploy-scripts/DeployPrividiumTransactionFilterer.s.sol+36
- l1-contracts/deploy-scripts/ctm/DeployCTM.s.sol+1-1
- l1-contracts/deploy-scripts/ctm/DeployCTMUtils.s.sol+1-1
- l1-contracts/deploy-scripts/ctm/RegisterZKChain.s.sol+82-103
- l1-contracts/deploy-scripts/upgrade/default_upgrade/DefaultCTMUpgrade.s.sol+2-2
- l1-contracts/deploy-scripts/upgrade/default_upgrade/DefaultGatewayUpgrade.s.sol+2-2
- l1-contracts/deploy-scripts/utils/GetDiamondCutData.sol+79-20
- l1-contracts/package.json+1-1
- l1-contracts/selectors+278-71
- l1-contracts/test/foundry/l1/integration/l2-tests-abstract/L2AssetTrackerData.sol+8-8
- l1-contracts/test/foundry/l1/unit/concrete/PrividiumTransactionFilterer/CheckTransaction.sol+22
- l1-contracts/test/foundry/l1/unit/concrete/PrividiumTransactionFilterer/_PrividiumTransactionFilterer_Shared.t.sol+3
- l1-contracts/test/foundry/l1/unit/concrete/state-transition/data-availability/RelayedSLDAValidator.t.sol+2-2
- l1-contracts/test/foundry/zksync-os/unit/L1MessengerTest.t.sol+45
- system-contracts/contracts/Constants.sol+6-4
- system-contracts/contracts/L2BaseToken.sol+1-1
- system-contracts/contracts/SystemContractErrors.sol+2-2
- system-contracts/contracts/abstract/SystemContractBase.sol+6-6
- system-contracts/scripts/constants.ts+3-3
- system-contracts/test/shared/constants.ts+4-4
- tools/verifier-gen/data/ZKsyncOS_plonk_scheduler_key.json+16-16
- tools/zksync-os-genesis-gen/src/consts.rs+24-7
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
216 | | - | |
| 216 | + | |
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
221 | | - | |
| 221 | + | |
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
| 226 | + | |
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
231 | | - | |
| 231 | + | |
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
| |||
Submodule proof-manager-contracts updated 12 files
- .github/workflows/test.yml+2-2
- .gitignore+1
- .gitmodules+3
- foundry.toml+1-1
- lib/era-contracts+1
- scripts/deployment/DeployProofManagerV1.s.sol+10-5
- scripts/deployment/deploy.sh+32-10
- src/ProofManagerV1.sol+68-20
- src/interfaces/IProofManager.sol+10-4
- src/store/ProofManagerStorage.sol+1-1
- test/ProofManagerHarness.sol+9-7
- test/ProofManagerV1.t.sol+170-193
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
Lines changed: 59 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
Lines changed: 43 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
Lines changed: 6 additions & 126 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 | 12 | | |
14 | 13 | | |
15 | | - | |
| 14 | + | |
16 | 15 | | |
17 | 16 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | 17 | | |
70 | 18 | | |
71 | 19 | | |
72 | 20 | | |
73 | 21 | | |
74 | 22 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | 23 | | |
85 | 24 | | |
| 25 | + | |
| 26 | + | |
86 | 27 | | |
87 | 28 | | |
88 | 29 | | |
| |||
92 | 33 | | |
93 | 34 | | |
94 | 35 | | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | 36 | | |
103 | 37 | | |
104 | 38 | | |
| |||
162 | 96 | | |
163 | 97 | | |
164 | 98 | | |
165 | | - | |
166 | 99 | | |
167 | 100 | | |
168 | 101 | | |
169 | | - | |
170 | 102 | | |
171 | 103 | | |
172 | 104 | | |
173 | 105 | | |
174 | 106 | | |
175 | | - | |
176 | 107 | | |
177 | | - | |
178 | 108 | | |
179 | 109 | | |
180 | 110 | | |
181 | | - | |
182 | | - | |
183 | 111 | | |
184 | | - | |
185 | 112 | | |
186 | 113 | | |
187 | | - | |
188 | 114 | | |
189 | | - | |
190 | 115 | | |
191 | 116 | | |
192 | 117 | | |
| |||
196 | 121 | | |
197 | 122 | | |
198 | 123 | | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
| 124 | + | |
226 | 125 | | |
227 | 126 | | |
228 | 127 | | |
| |||
239 | 138 | | |
240 | 139 | | |
241 | 140 | | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
| 141 | + | |
262 | 142 | | |
263 | 143 | | |
264 | 144 | | |
| |||
0 commit comments