-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(chain-ops): make MintManager and GovernanceToken predeployed
- Loading branch information
Showing
10 changed files
with
447 additions
and
213 deletions.
There are no files selected for viewing
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,25 @@ | ||
# kroma-chain-ops | ||
|
||
This package contains utilities for working with chain state. | ||
|
||
## check-l2 | ||
|
||
The `check-l2` binary is used for verifying that an OP Stack L2 | ||
has been configured correctly. It iterates over all 256 predeployed | ||
proxies to make sure they are configured correctly with the correct | ||
proxy admin address. After that, it checks that all [predeploys](../kroma-bindings/predeploys/addresses.go) | ||
are configured and aliased correctly. Additional contract-specific | ||
checks ensure configuration like ownership, version, and storage | ||
is set correctly for the predeploys. | ||
|
||
#### Usage | ||
|
||
It can be built and run using the [Makefile](./Makefile) `check-l2` target. | ||
Run `make check-l2` to create a binary in [./bin/check-l2](./bin/check-l2) | ||
that can be executed by providing the `--l1-rpc-url` and `--l2-rpc-url` flags. | ||
|
||
```sh | ||
./bin/check-l2 \ | ||
--l2-rpc-url http://localhost:9545 \ | ||
--l1-rpc-url http://localhost:8545 | ||
``` |
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
Large diffs are not rendered by default.
Oops, something went wrong.
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,33 +1,35 @@ | ||
{ | ||
"Colosseum": "0xc3e53F4d16Ae77Db1c982e75a937B9f60FE63690", | ||
"Colosseum": "0x84eA74d481Ee0A5332c457a4d796187F6Ba67fEB", | ||
"ColosseumProxy": "0x610178dA211FEF7D417bC0e6FeD39F05609AD788", | ||
"KromaMintableERC20Factory": "0x322813Fd9A801c5507c9de605d63CEA4f2CE6c44", | ||
"KromaMintableERC20Factory": "0xa85233C63b9Ee964Add6F2cffe00Fd84eb32338f", | ||
"KromaMintableERC20FactoryProxy": "0x2279B7A0a67DB372996a5FaB50D91eAA73d2eBe6", | ||
"KromaPortal": "0x9E545E3C0baAB3E08CdfD552C960A1050f373042", | ||
"KromaPortal": "0xa82fF9aFd8f496c3d6ac40E2a0F282E47488CFc9", | ||
"KromaPortalProxy": "0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0", | ||
"L1CrossDomainMessenger": "0x9A9f2CCfdE556A7E9Ff0848998Aa4a0CFD8863AE", | ||
"L1CrossDomainMessenger": "0x68B1D87F95878fE05B998F19b66F4baba5De1aed", | ||
"L1CrossDomainMessengerProxy": "0x5FC8d32690cc91D4c39d9d3abcBD16989F875707", | ||
"L1ERC721Bridge": "0x59b670e9fA9D0A427751Af201D676719a970857b", | ||
"L1ERC721Bridge": "0x4ed7c70F96B99c776995fB64377f0d4aB3B0e1C1", | ||
"L1ERC721BridgeProxy": "0xa513E6E4b8f2a923D98304ec87F64353C4D5C853", | ||
"L1StandardBridge": "0x3Aa5ebB10DC797CAC828524e59A333d0A371443c", | ||
"L1GovernanceToken": "0x4c5859f0F772848b2D91F1D83E2Fe57935348029", | ||
"L1GovernanceTokenProxy": "0x0B306BF915C4d645ff596e518fAf3F9669b97016", | ||
"L1StandardBridge": "0xc6e7DF5E7b4f2A278906862b61205850344D4e7d", | ||
"L1StandardBridgeProxy": "0x0165878A594ca255338adfa4d48449f69242Eb8F", | ||
"L2OutputOracle": "0x09635F643e140090A9A8Dcd712eD6285858ceBef", | ||
"L2OutputOracle": "0xc5a5C42992dECbae36851359345FE25997F5C42d", | ||
"L2OutputOracleProxy": "0xDc64a140Aa3E981100a9becA4E685f962f0cF6C9", | ||
"Poseidon2": "0x0B306BF915C4d645ff596e518fAf3F9669b97016", | ||
"Poseidon2": "0x959922bE3CAee4b8Cd9a407cc3ac1C251C2007B1", | ||
"ProxyAdmin": "0x5FbDB2315678afecb367f032d93F642f64180aa3", | ||
"SecurityCouncil": "0x5eb3Bc0a489C5A8288765d2336659EbCA68FCd00", | ||
"SecurityCouncil": "0x36C02dA8a0983159322a80FFE9F24b1acfF8B570", | ||
"SecurityCouncilProxy": "0xB7f8BC63BbcaD18155201308C8f3540b07f84F5e", | ||
"SecurityCouncilToken": "0xf5059a5D33d5853360D16C683c16e67980206f36", | ||
"SecurityCouncilToken": "0x95401dc811bb5740090279Ba06cfA8fcF6113778", | ||
"SecurityCouncilTokenProxy": "0xA51c1fc2f0D1a1b8494Ed1FE312d7C3a78Ed91C0", | ||
"SystemConfig": "0x1613beB3B2C4f22Ee086B2b38C1476A3cE7f78E8", | ||
"SystemConfig": "0x851356ae760d987E095750cCeb3bC6014560891C", | ||
"SystemConfigProxy": "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512", | ||
"TimeLock": "0x99bbA657f2BbC93c02D617f8bA121cB8Fc104Acf", | ||
"TimeLock": "0x0E801D84Fa97b50751Dbf25036d067dCf18858bF", | ||
"TimeLockProxy": "0x0DCd1Bf9A1b36cE34237eEaFef220932846BCD82", | ||
"UpgradeGovernor": "0x8f86403A4DE0BB5791fa46B8e795C547942fE4Cf", | ||
"UpgradeGovernor": "0x9d4454B023096f34B160D6B654540c56A1F81688", | ||
"UpgradeGovernorProxy": "0x9A676e781A523b5d0C0e43731313A708CB607508", | ||
"ValidatorPool": "0x4A679253410272dd5232B3Ff7cF5dbB88f295319", | ||
"ValidatorPool": "0x7a2088a1bFc9d81c55368AE168C2C02570cB814F", | ||
"ValidatorPoolProxy": "0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9", | ||
"ZKMerkleTrie": "0x959922bE3CAee4b8Cd9a407cc3ac1C251C2007B1", | ||
"ZKVerifier": "0x67d269191c92Caf3cD7723F116c85e6E9bf55933", | ||
"ZKMerkleTrie": "0x9A9f2CCfdE556A7E9Ff0848998Aa4a0CFD8863AE", | ||
"ZKVerifier": "0xE6E340D132b5f46d1e472DebcD681B2aBc16e57E", | ||
"ZKVerifierProxy": "0x8A791620dd6260079BF849Dc5567aDC3F2FdC318" | ||
} |
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,33 +1,35 @@ | ||
{ | ||
"Colosseum": "0xc3e53F4d16Ae77Db1c982e75a937B9f60FE63690", | ||
"Colosseum": "0x84eA74d481Ee0A5332c457a4d796187F6Ba67fEB", | ||
"ColosseumProxy": "0x610178dA211FEF7D417bC0e6FeD39F05609AD788", | ||
"KromaMintableERC20Factory": "0x322813Fd9A801c5507c9de605d63CEA4f2CE6c44", | ||
"KromaMintableERC20Factory": "0xa85233C63b9Ee964Add6F2cffe00Fd84eb32338f", | ||
"KromaMintableERC20FactoryProxy": "0x2279B7A0a67DB372996a5FaB50D91eAA73d2eBe6", | ||
"KromaPortal": "0x9E545E3C0baAB3E08CdfD552C960A1050f373042", | ||
"KromaPortal": "0xa82fF9aFd8f496c3d6ac40E2a0F282E47488CFc9", | ||
"KromaPortalProxy": "0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0", | ||
"L1CrossDomainMessenger": "0x9A9f2CCfdE556A7E9Ff0848998Aa4a0CFD8863AE", | ||
"L1CrossDomainMessenger": "0x68B1D87F95878fE05B998F19b66F4baba5De1aed", | ||
"L1CrossDomainMessengerProxy": "0x5FC8d32690cc91D4c39d9d3abcBD16989F875707", | ||
"L1ERC721Bridge": "0x59b670e9fA9D0A427751Af201D676719a970857b", | ||
"L1ERC721Bridge": "0x4ed7c70F96B99c776995fB64377f0d4aB3B0e1C1", | ||
"L1ERC721BridgeProxy": "0xa513E6E4b8f2a923D98304ec87F64353C4D5C853", | ||
"L1StandardBridge": "0x3Aa5ebB10DC797CAC828524e59A333d0A371443c", | ||
"L1GovernanceToken": "0x4c5859f0F772848b2D91F1D83E2Fe57935348029", | ||
"L1GovernanceTokenProxy": "0x0B306BF915C4d645ff596e518fAf3F9669b97016", | ||
"L1StandardBridge": "0xc6e7DF5E7b4f2A278906862b61205850344D4e7d", | ||
"L1StandardBridgeProxy": "0x0165878A594ca255338adfa4d48449f69242Eb8F", | ||
"L2OutputOracle": "0x09635F643e140090A9A8Dcd712eD6285858ceBef", | ||
"L2OutputOracle": "0xc5a5C42992dECbae36851359345FE25997F5C42d", | ||
"L2OutputOracleProxy": "0xDc64a140Aa3E981100a9becA4E685f962f0cF6C9", | ||
"Poseidon2": "0x0B306BF915C4d645ff596e518fAf3F9669b97016", | ||
"Poseidon2": "0x959922bE3CAee4b8Cd9a407cc3ac1C251C2007B1", | ||
"ProxyAdmin": "0x5FbDB2315678afecb367f032d93F642f64180aa3", | ||
"SecurityCouncil": "0x5eb3Bc0a489C5A8288765d2336659EbCA68FCd00", | ||
"SecurityCouncil": "0x36C02dA8a0983159322a80FFE9F24b1acfF8B570", | ||
"SecurityCouncilProxy": "0xB7f8BC63BbcaD18155201308C8f3540b07f84F5e", | ||
"SecurityCouncilToken": "0xf5059a5D33d5853360D16C683c16e67980206f36", | ||
"SecurityCouncilToken": "0x95401dc811bb5740090279Ba06cfA8fcF6113778", | ||
"SecurityCouncilTokenProxy": "0xA51c1fc2f0D1a1b8494Ed1FE312d7C3a78Ed91C0", | ||
"SystemConfig": "0x1613beB3B2C4f22Ee086B2b38C1476A3cE7f78E8", | ||
"SystemConfig": "0x851356ae760d987E095750cCeb3bC6014560891C", | ||
"SystemConfigProxy": "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512", | ||
"TimeLock": "0x99bbA657f2BbC93c02D617f8bA121cB8Fc104Acf", | ||
"TimeLock": "0x0E801D84Fa97b50751Dbf25036d067dCf18858bF", | ||
"TimeLockProxy": "0x0DCd1Bf9A1b36cE34237eEaFef220932846BCD82", | ||
"UpgradeGovernor": "0x8f86403A4DE0BB5791fa46B8e795C547942fE4Cf", | ||
"UpgradeGovernor": "0x9d4454B023096f34B160D6B654540c56A1F81688", | ||
"UpgradeGovernorProxy": "0x9A676e781A523b5d0C0e43731313A708CB607508", | ||
"ValidatorPool": "0x4A679253410272dd5232B3Ff7cF5dbB88f295319", | ||
"ValidatorPool": "0x7a2088a1bFc9d81c55368AE168C2C02570cB814F", | ||
"ValidatorPoolProxy": "0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9", | ||
"ZKMerkleTrie": "0x959922bE3CAee4b8Cd9a407cc3ac1C251C2007B1", | ||
"ZKVerifier": "0x67d269191c92Caf3cD7723F116c85e6E9bf55933", | ||
"ZKMerkleTrie": "0x9A9f2CCfdE556A7E9Ff0848998Aa4a0CFD8863AE", | ||
"ZKVerifier": "0xE6E340D132b5f46d1e472DebcD681B2aBc16e57E", | ||
"ZKVerifierProxy": "0x8A791620dd6260079BF849Dc5567aDC3F2FdC318" | ||
} |
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
Oops, something went wrong.