From a4634c2ebda1e10a7a88f611ba993c5491408129 Mon Sep 17 00:00:00 2001 From: echo Date: Mon, 23 Oct 2023 16:25:19 +0800 Subject: [PATCH] redeploy (#28) --- README.md | 2 +- bin/beacon/add-beacon.sh | 4 ++-- bin/deploy.sh | 2 +- bin/verify.sh | 2 +- script/Deploy.s.sol | 4 ++-- script/output/421614/deploy.a-latest.json | 2 +- script/output/44/deploy.a-latest.json | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 98a83ef..1ccb0af 100644 --- a/README.md +++ b/README.md @@ -3,4 +3,4 @@ | Contract | Canonical Cross-chain Deployment Address | | ------------ | -------------------------------------------- | | ORMP | 0x0034607daf9c1dc6628f6e09E81bB232B6603A89 | -| SubAPI | 0x001F4321429B1E2DF774bdAe0fc62A7394652E0F | +| SubAPI | 0x00945C032A37454333d7044a52a5A42Aa0f6c608 | diff --git a/bin/beacon/add-beacon.sh b/bin/beacon/add-beacon.sh index f1a5ae6..aa25700 100755 --- a/bin/beacon/add-beacon.sh +++ b/bin/beacon/add-beacon.sh @@ -6,7 +6,7 @@ airnode=${1:?} sponsor=${2:?} sponsorWallet=${3:?} -subapi=0x001F4321429B1E2DF774bdAe0fc62A7394652E0F +subapi=0x00945C032A37454333d7044a52a5A42Aa0f6c608 arbitest_chain=arbitrum-sepolia arbitest_endpointId=0xbd452be65dba2428924ea35129292b3247233952dae361d169f2d489d805ce23 @@ -20,7 +20,7 @@ arbitest_sig=$(cast sig "addBeacon((address,bytes32,address,address))") crab_chain=crab -crab_endpointId=0x63400292c39bafe31164968499615317be0f1b97b4122a29d436c8fb427fdf65``` +crab_endpointId=0x63400292c39bafe31164968499615317be0f1b97b4122a29d436c8fb427fdf65 crab_data=$(set -x; ethabi encode params \ -v "(address,bytes32,address,address)" \ diff --git a/bin/deploy.sh b/bin/deploy.sh index 6ddacc3..f84cfd9 100755 --- a/bin/deploy.sh +++ b/bin/deploy.sh @@ -3,4 +3,4 @@ set -eo pipefail forge script script/Deploy.s.sol:Deploy --chain-id 44 --broadcast --verify -forge script script/Deploy.s.sol:Deploy --chain-id 421614 --broadcast --verify --skip-simulation +forge script script/Deploy.s.sol:Deploy --chain-id 421614 --broadcast --verify # --skip-simulation diff --git a/bin/verify.sh b/bin/verify.sh index ac51466..de2bcd6 100755 --- a/bin/verify.sh +++ b/bin/verify.sh @@ -4,7 +4,7 @@ set -eo pipefail deployer=0x0f14341A7f464320319025540E8Fe48Ad0fe5aec ormp=0x0034607daf9c1dc6628f6e09E81bB232B6603A89 -subapi=0x001F4321429B1E2DF774bdAe0fc62A7394652E0F +subapi=0x00945C032A37454333d7044a52a5A42Aa0f6c608 verify() { local addr; addr=$1 diff --git a/script/Deploy.s.sol b/script/Deploy.s.sol index 4ca3dce..8fd8155 100644 --- a/script/Deploy.s.sol +++ b/script/Deploy.s.sol @@ -18,8 +18,8 @@ contract Deploy is Common { using ScriptTools for string; address immutable ORMP = 0x0034607daf9c1dc6628f6e09E81bB232B6603A89; - address immutable ADDR = 0x001F4321429B1E2DF774bdAe0fc62A7394652E0F; - bytes32 immutable SALT = 0x2e2404a5a574c47981f8bd7cd0ff49a8d695179f6ae7cb02889d3b2ddcbb90d2; + address immutable ADDR = 0x00945C032A37454333d7044a52a5A42Aa0f6c608; + bytes32 immutable SALT = 0x19203b2192e701e6d2310d9b28561240cfd7ed56dada781c033d5854f2159ae5; string config; string instanceId; diff --git a/script/output/421614/deploy.a-latest.json b/script/output/421614/deploy.a-latest.json index 7494fb4..804be5e 100644 --- a/script/output/421614/deploy.a-latest.json +++ b/script/output/421614/deploy.a-latest.json @@ -1,4 +1,4 @@ { "DAO": "0x0f14341A7f464320319025540E8Fe48Ad0fe5aec", - "SUBAPI": "0x001F4321429B1E2DF774bdAe0fc62A7394652E0F" + "SUBAPI": "0x00945C032A37454333d7044a52a5A42Aa0f6c608" } \ No newline at end of file diff --git a/script/output/44/deploy.a-latest.json b/script/output/44/deploy.a-latest.json index 7494fb4..804be5e 100644 --- a/script/output/44/deploy.a-latest.json +++ b/script/output/44/deploy.a-latest.json @@ -1,4 +1,4 @@ { "DAO": "0x0f14341A7f464320319025540E8Fe48Ad0fe5aec", - "SUBAPI": "0x001F4321429B1E2DF774bdAe0fc62A7394652E0F" + "SUBAPI": "0x00945C032A37454333d7044a52a5A42Aa0f6c608" } \ No newline at end of file