Skip to content

Commit

Permalink
support l2 blast (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
hujw77 authored Mar 4, 2024
1 parent 66736c1 commit b8efab2
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 3 deletions.
4 changes: 3 additions & 1 deletion bin/multisig_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@ set -eo pipefail
# 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 137 --broadcast --verify --with-gas-price 150000000000
# forge script script/MultiSigDeploy.s.sol:MultiSigDeploy --chain-id 137 --broadcast --verify --with-gas-price 150000000000
# forge script script/MultiSigDeploy.s.sol:MultiSigDeploy --chain-id 42161 --legacy --broadcast --verify --skip-simulation
#
forge script script/MultiSigDeploy.s.sol:MultiSigDeploy --chain-id 81457 --broadcast --verify
3 changes: 2 additions & 1 deletion bin/verify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@ parameters=0x0000000000000000000000000000000000000000000000000000000000000040000
# 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 137 $parameters src/SubAPIMultiSig.sol:SubAPIMultiSig
# verify $subapi 137 $parameters src/SubAPIMultiSig.sol:SubAPIMultiSig
# verify $subapi 42161 $parameters src/SubAPIMultiSig.sol:SubAPIMultiSig
verify $subapi 81457 $parameters src/SubAPIMultiSig.sol:SubAPIMultiSig
2 changes: 2 additions & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ arbitrum = "https://arb1.arbitrum.io/rpc"
sepolia = "https://sepolia.infura.io/v3/${INFURA_KEY}"
ethereum = "https://mainnet.infura.io/v3/${INFURA_KEY}"
polygon = "https://polygon-mainnet.infura.io/v3/${INFURA_KEY}"
blast = "https://rpc.blast.io"

[etherscan]
blast = { key = "${ETHERSCAN_BLAST_KEY}", url = "https://api.blastscan.io/api"}
polygon = { key = "${ETHERSCAN_POLYGON_KEY}" }
arbitrum = { key = "${ETHERSCAN_ARBITRUM_KEY}" }
arbitrum-goerli = { key = "${ETHERSCAN_ARBITRUM_KEY}" }
Expand Down
2 changes: 1 addition & 1 deletion lib/create3-deploy
11 changes: 11 additions & 0 deletions script/input/81457/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
}
1 change: 1 addition & 0 deletions script/output/81457/SubAPIMultiSig.v.json

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions script/output/81457/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 b8efab2

Please sign in to comment.