Skip to content

Commit

Permalink
chore: update commands
Browse files Browse the repository at this point in the history
  • Loading branch information
excaliborr committed Nov 27, 2023
1 parent 2d4bf7d commit 31d8c3f
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 26 deletions.
3 changes: 1 addition & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ SEARCHER_PK=

# Mainnet rpc for the E2E Tests, should be the anvil url
MAINNET_E2E_RPC=
# Optimism rpc for the E2E Tests, should be the anvil url
OPTIMISM_E2E_RPC=


## For deployment scripts
DEPLOYER_MAINNNET_PRIVATE_KEY=
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"deploy:mainnet": "bash -c 'source .env && forge script -vv --rpc-url $MAINNET_RPC --slow --broadcast --private-key $DEPLOYER_MAINNNET_PRIVATE_KEY solidity/scripts/DeployMainnet.s.sol:DeployMainnet'",
"deploy:optimism": "bash -c 'source .env && forge script -vv --rpc-url $OPTIMISM_RPC --slow --broadcast --private-key $DEPLOYER_OPTIMISM_PRIVATE_KEY solidity/scripts/DeployOptimism.s.sol:DeployOptimism'",
"deploy:optimismGoerli": "bash -c 'source .env && forge script -vv --rpc-url $OPTIMISM_GOERLI_RPC --slow --broadcast --private-key $DEPLOYER_OPTIMISM_GOERLI_PRIVATE_KEY solidity/scripts/DeployOptimismGoerli.s.sol:DeployOptimismGoerli'",
"ganache:mainnet": "ganache --port 8545 --mnemonic 'chapter polar wool ethics pudding undo slide social second put segment chair'",
"ganache": "ganache --port 8545 --mnemonic 'chapter polar wool ethics pudding undo slide social second put segment chair'",
"lint:check": "yarn lint:sol-tests && yarn lint:sol-logic && forge fmt check",
"lint:fix": "sort-package-json && forge fmt && yarn lint:sol-tests --fix && yarn lint:sol-logic --fix",
"lint:sol-logic": "solhint -c .solhint.json 'solidity/contracts/**/*.sol' 'solidity/interfaces/**/*.sol'",
Expand Down
8 changes: 4 additions & 4 deletions proofs/proof.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"blockNumber": 75,
"blockHeader": "f901f5a0b38807b0b6d95a278aa1a3bdb79e4beb096cbeec9b9350e468cbc3eb231e60c9a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347940000000000000000000000000000000000000000a0f3788291713e1e56cac33d5185f773e3035ad49c3e1cf1a4eae708b218d9018fa056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004b8401c9c38000846564ab0980a01e6455db3f746d0c7fff5156a770be14fedd9f49b3cc0141e2b88d597f09fa59880000000000000000",
"accountProof": "f902f2f901f1a0b0766a6f781779592ae8ac6b11b53335c22dea1a4c7c6902f8e5981bce1b5390a040a955246ca6bc3fde5fdb6d3b4edde7f866bd17be78b534c0198f6626467b1ba0077f3e7adaf4ce220c9137887e1b7d72efa41d6e39315ec888a06dddfb868f02a0940621cedd58ffbea8e606d02008c9751d8a02108975b51df4d0b4a3e13febe5a0de26cb1b4fd99c4d3ed75d4a67931e3c252605c7d68e0148d5327f341bfd5283a06a93a775321bfc10ca1e3a37bdc42cffecf293b0a54e942e0cf8e84841e8c45ea0a08a102666f164574bad62c5bb44bdd86dcea3997f246626fb9939c79732c76880a04ba2a12c11def3cbb0592f78ddd4b39dae8658918b6a03c8c246a5bef03f6ab5a011e09f521d44fb2be23dc1d8b30038ac0362419c41cc6b2b064cd31741ddaa00a0217cfd6fab4d184d34f3cdb7207bed10099ce85d6a1389ce270ccfc1fde61f33a03559b772b80d6634b8e38b087fdbc01c75d2eb18097c179e8d3f69afb2691049a0ebd4120e1862a4ac1ea3f48e9e21bce5fa57cc52488cdea089fe33a3f5a63372a0a5ac64bb99d260ef6b13a4f2040ed48a4936664ec13d400238b5004841a4d888a0e4af86d4d6cbf25a781328ebca27253778b3a6b1055dc07f11e992cc99f10201a004f072a9dea3340c9c0a5da6a15016e434ee39094bd7c8211362207e8909230380f89180808080a0f214960e1b14ada5019b3d7efc13555de9ba5238e37995db7d753e5ae53b9064a0708f688ca0569984b055dc5be7bf9179dfb3d14e57668861bcaf125e7724a29ba08ec1d440481f9371946628c66d917f0201446ad95d904780a045c75ded50710e80808080808080a04efc265da0b9f1e2e4e997f618e8b623973729e121329e96b413f2551e808c788080f869a020923d38c4a11df1d1ea4c328f62fd92ae6270c791965c46c322b78dc0d31824b846f8440180a07a2a455db51fd00a2e2abe5f70503fedd069d304e2ecf4e82d64f60413ea68c6a0fd79d9f0b0ab6ee2f4166bb9632d934d81e28cd5fdb396e3f3e06ef9580cfd32",
"storageProof": "f846f844a1206f11a317eaba4365326405b953416f97a927af83bcc78a17a4d25016c4a0ff8ea1a0a362927a7b493db164d1728c370827794def1c9f44b655434ab20f05d39e7478"
"blockNumber": 92,
"blockHeader": "f901f5a0b4aebda060090758ceed2276bb86b84c7ab42315b2a3ad33d66487e856304aa5a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347940000000000000000000000000000000000000000a0749ff359eb32cbbacec40ce31326915f40620bc65d4e089a8e0f42ff9a8fc78ca056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b9010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005c8401c9c38000846564ab9f80a09a579a7f9354aca99b72f864ffa4dcabaff3b83c210eeafb21bfcdbb52255755880000000000000000",
"accountProof": "f90312f901f1a0b0766a6f781779592ae8ac6b11b53335c22dea1a4c7c6902f8e5981bce1b5390a040a955246ca6bc3fde5fdb6d3b4edde7f866bd17be78b534c0198f6626467b1ba0077f3e7adaf4ce220c9137887e1b7d72efa41d6e39315ec888a06dddfb868f02a07ce8778eff01f1e72ccadadf67002e63e55431e60bc1a8642800ce238e598d38a0de26cb1b4fd99c4d3ed75d4a67931e3c252605c7d68e0148d5327f341bfd5283a0528931bd86b12da8069a906b9d2b6595252be4d0f86ce33cd0d10c6382814618a0ecbc18894c4a2ac4fc995ea1ee7fa49864d2ab7b84c74f1ef9afc7d5687922ba80a04ba2a12c11def3cbb0592f78ddd4b39dae8658918b6a03c8c246a5bef03f6ab5a04e499edc40e2ee5e71df434786cb4480d07ee00b6eb3d7c2164a0267f2f8ecb6a0daf3400af4cc4937c59dcc3a3f6f0040fc45baa78884d0ccfc36d4eb4ad90c50a02cb4f0d1f80029a7b8d09acf5311d165892f450a74233ba9b536b583f72ed152a0ebd4120e1862a4ac1ea3f48e9e21bce5fa57cc52488cdea089fe33a3f5a63372a0a5ac64bb99d260ef6b13a4f2040ed48a4936664ec13d400238b5004841a4d888a0685baaf1a3e6c61a6584e9e293240bdedc68544e28b544946cb4fa2fe64d23eda0dcda8113b4ab597d03483e17c8b0141762ad705d0dfee78f656ff156f6fc0e0b80f8b180a0f1b0bcc1c4cf73155ea623fc46d43f68902048b0d7dacd57da8679aab8fa149e80a0be1227beb5b6b206fa6169ce723ae5a9c9e6ce7b33c54d8fabed21b3936751768080808080a0324d598257e784ce5f41c8f8e259466f424f69e0dbc4f4a07cd1186777d49fd580a034ad5f99b71da649c8447425f4eb99a416970c0560504282caf1599ab8eb098da0173ed634517f21ca528401295a01e0b0f42bb7e67b8cbb58347267671eeb139380808080f869a0208609badd99773f662c5654d38272a4e31b283d910e192f5f559b97dac66764b846f8440180a0bace5ceab0f03b2c4a20ace2725673b4e0a9e91d4ae85777ddfc0cdca52dc6baa0fd79d9f0b0ab6ee2f4166bb9632d934d81e28cd5fdb396e3f3e06ef9580cfd32",
"storageProof": "f846f844a1208bb4ba1efbcf4dccb7f4698344e93578b3c7da05a7fe1722210af5f24ed9bc4fa1a0a362927a7b493db164d1728c370827794def1c9f44b655434ab20f05d39e7478"
}
18 changes: 9 additions & 9 deletions solidity/scripts/deployments/E2ESafeDeployments.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"BlockHeaderOracle": "0xcbC1275AD12e246011F0CB1A21a109127eE2506c",
"GuardCallbackModule": "0x5cEAeC514516aB4690D694cc18af1d83c4609681",
"NeedsUpdateGuard": "0xcB1F98E666D639ee08057eDBC2451dc3BD779B3e",
"Safe": "0x238B4efE99313863797CA031199fA0D071B57A30",
"SafeOp": "0x238B4efE99313863797CA031199fA0D071B57A30",
"StorageMirror": "0xd8204f47F760DE443def7EE818963C590d69E4CD",
"StorageMirrorRootRegistry": "0x326C688dC2417362ddBDAFCB5855Ff769584734d",
"UpdateStorageMirrorGuard": "0xbcA7FbD6D4B96cec0961E5ea39B70ae1F2bfbb31",
"VerifierModule": "0x1aFBd95C8479Fc10b5A28838aD62ABFB497B1b2d"
"BlockHeaderOracle": "0x24C0010BC93e050E5E909Cd18fAdCc4264990Ae0",
"GuardCallbackModule": "0x066D328314952c6f33e8FcA84046834FF47190F0",
"NeedsUpdateGuard": "0xFEdae71EecAb729b950f735C14F10C3A20dD4c7a",
"Safe": "0x4C8a3C4cCf119f6ee521A4E320cf7711f59FE8cB",
"SafeOp": "0x4C8a3C4cCf119f6ee521A4E320cf7711f59FE8cB",
"StorageMirror": "0xE69026a1eE05CC5C3aC7932bFC560D583657ee31",
"StorageMirrorRootRegistry": "0x4B1AE49889086A36EAd8AaBfF4235A6F7DF13318",
"UpdateStorageMirrorGuard": "0x456824327A22e75C65C2b855D3602b4b56B4be87",
"VerifierModule": "0xB29aEe820B04535DB81fb106d320487A64c5bb48"
}
6 changes: 3 additions & 3 deletions solidity/scripts/deployments/HomeChainDeployments.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"GuardCallbackModule": "0x5cEAeC514516aB4690D694cc18af1d83c4609681",
"StorageMirror": "0xd8204f47F760DE443def7EE818963C590d69E4CD",
"UpdateStorageMirrorGuard": "0xbcA7FbD6D4B96cec0961E5ea39B70ae1F2bfbb31"
"GuardCallbackModule": "0x066D328314952c6f33e8FcA84046834FF47190F0",
"StorageMirror": "0xE69026a1eE05CC5C3aC7932bFC560D583657ee31",
"UpdateStorageMirrorGuard": "0x456824327A22e75C65C2b855D3602b4b56B4be87"
}
14 changes: 7 additions & 7 deletions solidity/scripts/deployments/NonHomeChainDeployments.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"BlockHeaderOracle": "0xcbC1275AD12e246011F0CB1A21a109127eE2506c",
"GuardCallbackModule": "0x5cEAeC514516aB4690D694cc18af1d83c4609681",
"NeedsUpdateGuard": "0xcB1F98E666D639ee08057eDBC2451dc3BD779B3e",
"StorageMirror": "0xd8204f47F760DE443def7EE818963C590d69E4CD",
"StorageMirrorRootRegistry": "0x326C688dC2417362ddBDAFCB5855Ff769584734d",
"UpdateStorageMirrorGuard": "0xbcA7FbD6D4B96cec0961E5ea39B70ae1F2bfbb31",
"VerifierModule": "0x1aFBd95C8479Fc10b5A28838aD62ABFB497B1b2d"
"BlockHeaderOracle": "0x24C0010BC93e050E5E909Cd18fAdCc4264990Ae0",
"GuardCallbackModule": "0x066D328314952c6f33e8FcA84046834FF47190F0",
"NeedsUpdateGuard": "0xFEdae71EecAb729b950f735C14F10C3A20dD4c7a",
"StorageMirror": "0xE69026a1eE05CC5C3aC7932bFC560D583657ee31",
"StorageMirrorRootRegistry": "0x4B1AE49889086A36EAd8AaBfF4235A6F7DF13318",
"UpdateStorageMirrorGuard": "0x456824327A22e75C65C2b855D3602b4b56B4be87",
"VerifierModule": "0xB29aEe820B04535DB81fb106d320487A64c5bb48"
}

0 comments on commit 31d8c3f

Please sign in to comment.