Skip to content

Commit 2be96ed

Browse files
committed
Update upgradeTo.ts
1 parent c983c9a commit 2be96ed

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

scripts/upgradeTo.ts

+3-5
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,12 @@ import { ethers, getContractFactory } from "../utils/utils";
33
async function main() {
44
const [signer] = await ethers.getSigners();
55

6-
const spokePool = await getContractFactory("Ethereum_SpokePool", { signer });
7-
const upgradeTo = spokePool.interface.encodeFunctionData("upgradeTo", ["0x74f8b450606f025A4A40507158975b22f72DE96a"]);
6+
const spokePool = await getContractFactory("Arbitrum_SpokePool", { signer });
7+
const upgradeTo = spokePool.interface.encodeFunctionData("upgradeTo", ["0x3CA11702f7c0F28e0b4e03C31F7492969862C569"]);
88
console.log(`upgradeTo bytes: `, upgradeTo);
99

10-
/// 7777 is special chain we use to test upgrades on goerli. This way we don't have to upgrade
11-
// the main spoke pool we use for deposits.
1210
console.log(
13-
`Call relaySpokePoolAdminFunction() with the params [7777, ${upgradeTo}] on this hub pool: https://goerli.etherscan.io/address/0x0e2817C49698cc0874204AeDf7c72Be2Bb7fCD5d#writeContract`
11+
`Call relaySpokePoolAdminFunction() with the params [<chainId>, ${upgradeTo}] on this hub pool: https://goerli.etherscan.io/address/0x0e2817C49698cc0874204AeDf7c72Be2Bb7fCD5d#writeContract`
1412
);
1513
}
1614

0 commit comments

Comments
 (0)