Skip to content

Commit

Permalink
deploy on mainnet (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
hujw77 authored Feb 7, 2024
1 parent 3c0d6a4 commit 540cd66
Show file tree
Hide file tree
Showing 11 changed files with 61 additions and 8 deletions.
12 changes: 8 additions & 4 deletions bin/multisig_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ set -eo pipefail
# forge script script/Deploy.s.sol:Deploy --chain-id 42161 --broadcast --verify --slow --legacy
# forge script script/Deploy.s.sol:Deploy --chain-id 1 --broadcast --verify --slow --legacy

forge script script/MultiSigDeploy.s.sol:MultiSigDeploy --chain-id 43 --broadcast --verify --skip-simulation
forge script script/MultiSigDeploy.s.sol:MultiSigDeploy --chain-id 44 --broadcast --verify --skip-simulation
forge script script/MultiSigDeploy.s.sol:MultiSigDeploy --chain-id 421614 --broadcast --verify --skip-simulation
forge script script/MultiSigDeploy.s.sol:MultiSigDeploy --chain-id 11155111 --broadcast --verify --skip-simulation
# forge script script/MultiSigDeploy.s.sol:MultiSigDeploy --chain-id 43 --broadcast --verify --skip-simulation
# forge script script/MultiSigDeploy.s.sol:MultiSigDeploy --chain-id 421614 --broadcast --verify --skip-simulation
# forge script script/MultiSigDeploy.s.sol:MultiSigDeploy --chain-id 11155111 --broadcast --verify --skip-simulation

forge script script/MultiSigDeploy.s.sol:MultiSigDeploy --chain-id 1 --broadcast --verify --legacy --with-gas-price 31000000000
forge script script/MultiSigDeploy.s.sol:MultiSigDeploy --chain-id 44 --broadcast --verify
forge script script/MultiSigDeploy.s.sol:MultiSigDeploy --chain-id 46 --broadcast --verify
forge script script/MultiSigDeploy.s.sol:MultiSigDeploy --chain-id 42161 --legacy --broadcast --verify --skip-simulation
11 changes: 8 additions & 3 deletions bin/verify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ verify() {
}

parameters=0x000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000005000000000000000000000000178e699c9a6bb2cd624557fbd85ed219e6faba770000000000000000000000009f33a4809aa708d7a399fedba514e0a0d15efa85000000000000000000000000a4be619e8c0e3889f5fa28bb0393a4862cad35ad000000000000000000000000b9a0cadd13c5d534b034d878b2fca9e5a6e1e3a4000000000000000000000000fa5727be643dba6599fc7f812fe60da3264a8205
verify $subapi 11155111 $parameters src/SubAPIMultiSig.sol:SubAPIMultiSig
verify $subapi 44 $parameters src/SubAPIMultiSig.sol:SubAPIMultiSig
verify $subapi 421614 $parameters src/SubAPIMultiSig.sol:SubAPIMultiSig
# verify $subapi 11155111 $parameters src/SubAPIMultiSig.sol:SubAPIMultiSig
# verify $subapi 43 $parameters src/SubAPIMultiSig.sol:SubAPIMultiSig
# verify $subapi 421614 $parameters src/SubAPIMultiSig.sol:SubAPIMultiSig

verify $subapi 1 $parameters src/SubAPIMultiSig.sol:SubAPIMultiSig
verify $subapi 44 $parameters src/SubAPIMultiSig.sol:SubAPIMultiSig
verify $subapi 46 $parameters src/SubAPIMultiSig.sol:SubAPIMultiSig
verify $subapi 42161 $parameters src/SubAPIMultiSig.sol:SubAPIMultiSig
11 changes: 11 additions & 0 deletions script/input/1/multisig_deploy.c.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"DEPLOYER": "0x0f14341A7f464320319025540E8Fe48Ad0fe5aec",
"SIGNERS": [
"0x178E699c9a6bB2Cd624557Fbd85ed219e6faBa77",
"0x9F33a4809aA708d7a399fedBa514e0A0d15EfA85",
"0xA4bE619E8C0E3889f5fA28bb0393A4862Cad35ad",
"0xB9a0CaDD13C5d534b034d878b2fcA9E5a6e1e3A4",
"0xFa5727bE643dba6599fC7F812fE60dA3264A8205"
],
"QUORUM": 3
}
11 changes: 11 additions & 0 deletions script/input/42161/multisig_deploy.c.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"DEPLOYER": "0x0f14341A7f464320319025540E8Fe48Ad0fe5aec",
"SIGNERS": [
"0x178E699c9a6bB2Cd624557Fbd85ed219e6faBa77",
"0x9F33a4809aA708d7a399fedBa514e0A0d15EfA85",
"0xA4bE619E8C0E3889f5fA28bb0393A4862Cad35ad",
"0xB9a0CaDD13C5d534b034d878b2fcA9E5a6e1e3A4",
"0xFa5727bE643dba6599fC7F812fE60dA3264A8205"
],
"QUORUM": 3
}
11 changes: 11 additions & 0 deletions script/input/46/multisig_deploy.c.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"DEPLOYER": "0x0f14341A7f464320319025540E8Fe48Ad0fe5aec",
"SIGNERS": [
"0x178E699c9a6bB2Cd624557Fbd85ed219e6faBa77",
"0x9F33a4809aA708d7a399fedBa514e0A0d15EfA85",
"0xA4bE619E8C0E3889f5fA28bb0393A4862Cad35ad",
"0xB9a0CaDD13C5d534b034d878b2fcA9E5a6e1e3A4",
"0xFa5727bE643dba6599fC7F812fE60dA3264A8205"
],
"QUORUM": 3
}
2 changes: 1 addition & 1 deletion script/output/1/SubAPIMultiSig.v.json

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions script/output/1/multisig_deploy.a-latest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"SUBAPI_MULTISIG": "0x000000000d60704384100A29efb6C9cf8cD72820"
}
1 change: 1 addition & 0 deletions script/output/42161/SubAPIMultiSig.v.json

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions script/output/42161/multisig_deploy.a-latest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"SUBAPI_MULTISIG": "0x000000000d60704384100A29efb6C9cf8cD72820"
}
1 change: 1 addition & 0 deletions script/output/46/SubAPIMultiSig.v.json

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions script/output/46/multisig_deploy.a-latest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"SUBAPI_MULTISIG": "0x000000000d60704384100A29efb6C9cf8cD72820"
}

0 comments on commit 540cd66

Please sign in to comment.