-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: the calldata for the upgrades, small fixes for the migration scr…
…ips (#1785) ## What ❔ -- calldata for upgrades, -- scripts for the migration/upgrade -- bumping contracts to latest release-v23 ## Why ❔ <!-- Why are these changes done? What goal do they contribute to? What are the principles behind them? --> <!-- Example: PR templates ensure PR reviewers, observers, and future iterators are in context about the evolution of repos. --> ## 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 `zk fmt` and `zk lint`. - [ ] Spellcheck has been run via `zk spellcheck`. - [ ] Linkcheck has been run via `zk linkcheck`. --------- Signed-off-by: Danil <[email protected]> Co-authored-by: Javier Chatruc <[email protected]> Co-authored-by: Francisco Krause Arnim <[email protected]> Co-authored-by: Jmunoz <[email protected]> Co-authored-by: Javier Rodríguez Chatruc <[email protected]> Co-authored-by: Francisco Krause Arnim <[email protected]> Co-authored-by: Lyova Potyomkin <[email protected]> Co-authored-by: Bence Haromi <[email protected]> Co-authored-by: Santiago Pittella <[email protected]> Co-authored-by: Danil <[email protected]> Co-authored-by: Leandro Ferrigno <[email protected]> Co-authored-by: Raid Ateir <[email protected]> Co-authored-by: fborello-lambda <[email protected]> Co-authored-by: Stanislav Breadless <[email protected]> Co-authored-by: mm <[email protected]> Co-authored-by: Marcin M <[email protected]> Co-authored-by: Bence Haromi <[email protected]> Co-authored-by: perekopskiy <[email protected]> Co-authored-by: Alex Ostrovski <[email protected]> Co-authored-by: Raid5594 <[email protected]>
- Loading branch information
1 parent
e22d708
commit c3d4d2f
Showing
34 changed files
with
3,736 additions
and
73 deletions.
There are no files selected for viewing
Submodule contracts
updated
45 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"name": "hyperchain-upgrade", | ||
"creationTimestamp": 1711451944, | ||
"protocolVersion": "23" | ||
"protocolVersion": "24" | ||
} |
17 changes: 17 additions & 0 deletions
17
etc/upgrades/1711451944-hyperchain-upgrade/mainnet/bridgeUgrade.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"l2BridgeUpgrade": { | ||
"schedule": "0x2c43191700000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000005fe1dacc4e47823f85a74421515ca7361ea5f02b8ac7aed31564ef15a1a297860000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000032400084c286cf3e17e7b677ea9583e60a0003240000000000000000000000000000000000000000000000000654099584706c0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000244eb67241900000000000000000000000011f943b2c77b743ab90f4a0ae7d5a4e7fca3e102000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000044aa2000000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000022000000000000000000000000071d84c3404a6ae258e6471d4934b96a2033f943800000000000000000000000000000000000000000000000000000000000001044f1ef286000000000000000000000000470afaacce2acdaefcc662419b74c79d76c914ae00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000084a31ee5b0000000000000000000000000241f19ea8ccd04515b309f1c9953a322f51891fc00000000000000000000000057891966931eb4bb6fb81430e6ce0a03aabde063010001211b0c33353cdf7a320f768e3dc40bce1326d639fcac099bba9ecd8e340000000000000000000000001c732a2061eaccae1c664ebc3e868b8438e050720000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | ||
"execute": "0x74da756b0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000005fe1dacc4e47823f85a74421515ca7361ea5f02b8ac7aed31564ef15a1a297860000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000032400084c286cf3e17e7b677ea9583e60a0003240000000000000000000000000000000000000000000000000654099584706c0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000244eb67241900000000000000000000000011f943b2c77b743ab90f4a0ae7d5a4e7fca3e102000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000044aa2000000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000022000000000000000000000000071d84c3404a6ae258e6471d4934b96a2033f943800000000000000000000000000000000000000000000000000000000000001044f1ef286000000000000000000000000470afaacce2acdaefcc662419b74c79d76c914ae00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000084a31ee5b0000000000000000000000000241f19ea8ccd04515b309f1c9953a322f51891fc00000000000000000000000057891966931eb4bb6fb81430e6ce0a03aabde063010001211b0c33353cdf7a320f768e3dc40bce1326d639fcac099bba9ecd8e340000000000000000000000001c732a2061eaccae1c664ebc3e868b8438e050720000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | ||
"value": "456000000048000000" | ||
}, | ||
"l1BridgeTransferAdmin": { | ||
"schedule": "0x2c43191700000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000004fa7041c2dd7ae4f5dfadca3f7248f2b9c3dea4340eb8d2bad94e445f6bde4cc0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000057891966931eb4bb6fb81430e6ce0a03aabde0630000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000248f283970000000000000000000000000f2c1d17441074ffb18e9a918db81a17db175214600000000000000000000000000000000000000000000000000000000", | ||
"execute": "0x74da756b0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000004fa7041c2dd7ae4f5dfadca3f7248f2b9c3dea4340eb8d2bad94e445f6bde4cc0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000057891966931eb4bb6fb81430e6ce0a03aabde0630000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000248f283970000000000000000000000000f2c1d17441074ffb18e9a918db81a17db175214600000000000000000000000000000000000000000000000000000000", | ||
"value": "0" | ||
}, | ||
"l1BridgeUpgrade": { | ||
"schedule": "0x2c4319170000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000587b437f52256a45b3f8d167a466ffb69883ad7b22bd52e2f12ebd078fef01af00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000f2c1d17441074ffb18e9a918db81a17db175214600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000004499a88ec400000000000000000000000057891966931eb4bb6fb81430e6ce0a03aabde063000000000000000000000000bf3d4109d65a66c629d1999fb630be2ee16d703800000000000000000000000000000000000000000000000000000000", | ||
"execute": "0x74da756b000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000587b437f52256a45b3f8d167a466ffb69883ad7b22bd52e2f12ebd078fef01af00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000f2c1d17441074ffb18e9a918db81a17db175214600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000004499a88ec400000000000000000000000057891966931eb4bb6fb81430e6ce0a03aabde063000000000000000000000000bf3d4109d65a66c629d1999fb630be2ee16d703800000000000000000000000000000000000000000000000000000000", | ||
"value": "0" | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
etc/upgrades/1711451944-hyperchain-upgrade/mainnet/crypto.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"verifier": { | ||
"address": "0x9D6c59D9A234F585B367b4ba3C62e5Ec7A6179FD", | ||
"txHash": "0x0000000000000000000000000000000000000000000000000000000000000000" | ||
}, | ||
"keys": { | ||
"recursionNodeLevelVkHash": "0xf520cd5b37e74e19fdb369c8d676a04dce8a19457497ac6686d2bb95d94109c8", | ||
"recursionLeafLevelVkHash": "0x435202d277dd06ef3c64ddd99fda043fc27c2bd8b7c66882966840202c27f4f6", | ||
"recursionCircuitsSetVksHash": "0x0000000000000000000000000000000000000000000000000000000000000000" | ||
} | ||
} |
181 changes: 181 additions & 0 deletions
181
etc/upgrades/1711451944-hyperchain-upgrade/mainnet/facetCuts.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,181 @@ | ||
[ | ||
{ | ||
"facet": "0x0000000000000000000000000000000000000000", | ||
"selectors": [ | ||
"0x0e18b681", | ||
"0xe58bb639", | ||
"0x64bf8d66", | ||
"0xa9f6d941", | ||
"0x27ae4c16", | ||
"0x4dd18bf5", | ||
"0xf235757f", | ||
"0x1cc5d103", | ||
"0xbe6f11cf", | ||
"0x4623c91d", | ||
"0x17338945" | ||
], | ||
"action": 2, | ||
"isFreezable": false | ||
}, | ||
{ | ||
"facet": "0x0000000000000000000000000000000000000000", | ||
"selectors": [ | ||
"0xcdffacc6", | ||
"0x52ef6b2c", | ||
"0xadfca15e", | ||
"0x7a0ed627", | ||
"0x79823c9a", | ||
"0x4fc07d75", | ||
"0xd86970d8", | ||
"0xfd791f3c", | ||
"0xe5355c75", | ||
"0x9d1b5a81", | ||
"0x7b30c8da", | ||
"0x8665b150", | ||
"0x631f4bac", | ||
"0x0ec6b0b7", | ||
"0x33ce93fe", | ||
"0xdb1f0bf9", | ||
"0xb8c2f66f", | ||
"0xef3f0bae", | ||
"0xfe26699e", | ||
"0x39607382", | ||
"0xaf6a2dcd", | ||
"0xa1954fc5", | ||
"0x46657fe9", | ||
"0x18e3a941", | ||
"0x29b98c67", | ||
"0xbd7c5412", | ||
"0xc3bbd2d7", | ||
"0xe81e0ba1", | ||
"0xfacd743b", | ||
"0x9cd939e4", | ||
"0x56142d7a", | ||
"0xb22dd78e", | ||
"0x74f4d30d" | ||
], | ||
"action": 2, | ||
"isFreezable": false | ||
}, | ||
{ | ||
"facet": "0x0000000000000000000000000000000000000000", | ||
"selectors": [ | ||
"0x6c0960f9", | ||
"0xb473318e", | ||
"0x042901c7", | ||
"0x263b7f8e", | ||
"0xe4948f43", | ||
"0xeb672419" | ||
], | ||
"action": 2, | ||
"isFreezable": false | ||
}, | ||
{ | ||
"facet": "0x0000000000000000000000000000000000000000", | ||
"selectors": [ | ||
"0x701f58c5", | ||
"0xc3d93e7c", | ||
"0x7f61885c", | ||
"0x97c09d34" | ||
], | ||
"action": 2, | ||
"isFreezable": false | ||
}, | ||
{ | ||
"facet": "0x342a09385E9BAD4AD32a6220765A6c333552e565", | ||
"selectors": [ | ||
"0x0e18b681", | ||
"0x64bf8d66", | ||
"0xa9f6d941", | ||
"0x27ae4c16", | ||
"0x4dd18bf5", | ||
"0x1cc5d103", | ||
"0xbe6f11cf", | ||
"0xe76db865", | ||
"0x235d9eb5", | ||
"0x21f603d7", | ||
"0x4623c91d", | ||
"0x17338945", | ||
"0xfc57565f" | ||
], | ||
"action": 0, | ||
"isFreezable": false | ||
}, | ||
{ | ||
"facet": "0x345c6ca2F3E08445614f4299001418F125AD330a", | ||
"selectors": [ | ||
"0x1de72e34", | ||
"0xea6c029c", | ||
"0xcdffacc6", | ||
"0x52ef6b2c", | ||
"0xadfca15e", | ||
"0x7a0ed627", | ||
"0x6e9960c3", | ||
"0x98acd7a6", | ||
"0x086a56f8", | ||
"0x3591c1a0", | ||
"0x79823c9a", | ||
"0xd86970d8", | ||
"0xfd791f3c", | ||
"0xe5355c75", | ||
"0x9d1b5a81", | ||
"0x7b30c8da", | ||
"0xd0468156", | ||
"0x631f4bac", | ||
"0x0ec6b0b7", | ||
"0x33ce93fe", | ||
"0x06d49e5b", | ||
"0x5518c73b", | ||
"0xdb1f0bf9", | ||
"0xb8c2f66f", | ||
"0xef3f0bae", | ||
"0xfe26699e", | ||
"0x39607382", | ||
"0xaf6a2dcd", | ||
"0xa1954fc5", | ||
"0x46657fe9", | ||
"0x18e3a941", | ||
"0x29b98c67", | ||
"0xbd7c5412", | ||
"0xc3bbd2d7", | ||
"0xe81e0ba1", | ||
"0xfacd743b", | ||
"0x9cd939e4", | ||
"0x56142d7a", | ||
"0xb22dd78e", | ||
"0x74f4d30d" | ||
], | ||
"action": 0, | ||
"isFreezable": false | ||
}, | ||
{ | ||
"facet": "0x7814399116C17F2750Ca99cBFD2b75bA9a0793d7", | ||
"selectors": [ | ||
"0x12f43dab", | ||
"0x6c0960f9", | ||
"0xb473318e", | ||
"0x042901c7", | ||
"0x263b7f8e", | ||
"0xe4948f43", | ||
"0xeb672419", | ||
"0xc924de35" | ||
], | ||
"action": 0, | ||
"isFreezable": true | ||
}, | ||
{ | ||
"facet": "0x1a451d9bFBd176321966e9bc540596Ca9d39B4B1", | ||
"selectors": [ | ||
"0x701f58c5", | ||
"0x6edd4f12", | ||
"0xc3d93e7c", | ||
"0x6f497ac6", | ||
"0x7f61885c", | ||
"0xc37533bb", | ||
"0x97c09d34", | ||
"0x0f23da43" | ||
], | ||
"action": 0, | ||
"isFreezable": true | ||
} | ||
] |
18 changes: 18 additions & 0 deletions
18
etc/upgrades/1711451944-hyperchain-upgrade/mainnet/facets.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"ExecutorFacet": { | ||
"address": "0x1a451d9bFBd176321966e9bc540596Ca9d39B4B1", | ||
"txHash": "0x0000000000000000000000000000000000000000000000000000000000000000" | ||
}, | ||
"AdminFacet": { | ||
"address": "0x342a09385E9BAD4AD32a6220765A6c333552e565", | ||
"txHash": "0x0000000000000000000000000000000000000000000000000000000000000000" | ||
}, | ||
"GettersFacet": { | ||
"address": "0x345c6ca2F3E08445614f4299001418F125AD330a", | ||
"txHash": "0x0000000000000000000000000000000000000000000000000000000000000000" | ||
}, | ||
"MailboxFacet": { | ||
"address": "0x7814399116C17F2750Ca99cBFD2b75bA9a0793d7", | ||
"txHash": "0x0000000000000000000000000000000000000000000000000000000000000000" | ||
} | ||
} |
Oops, something went wrong.