diff --git a/ethereum/env/.env.worldchain.testnet b/ethereum/env/.env.worldchain.testnet index bddd68c068..20621e99a2 100644 --- a/ethereum/env/.env.worldchain.testnet +++ b/ethereum/env/.env.worldchain.testnet @@ -17,5 +17,5 @@ BRIDGE_INIT_CHAIN_ID=45 BRIDGE_INIT_GOV_CHAIN_ID=0x1 BRIDGE_INIT_GOV_CONTRACT=0x0000000000000000000000000000000000000000000000000000000000000004 BRIDGE_INIT_FINALITY=1 -# I'm assuming this is right. . . -BRIDGE_INIT_WETH=0x211Db8FbDc34982654e39b1B3a8Ca3EF5c7826EA \ No newline at end of file +# Worldchain is an OP Stack chain so it has the same WETH address. +BRIDGE_INIT_WETH=0x4200000000000000000000000000000000000006 \ No newline at end of file diff --git a/ethereum/sh/registerAllChainsOnTokenBridge.sh b/ethereum/sh/registerAllChainsOnTokenBridge.sh index 4d3272b817..b4a1bc9389 100755 --- a/ethereum/sh/registerAllChainsOnTokenBridge.sh +++ b/ethereum/sh/registerAllChainsOnTokenBridge.sh @@ -59,7 +59,6 @@ do # Skip this chain. (We don't want to register this chain on itself.) echo $tag | grep -i ${chain} > /dev/null if [ $? == 0 ]; then - found_us=1 continue fi @@ -72,11 +71,6 @@ do count=$(($count+1)) done < "$input_file" -if [ $found_us == 0 ]; then - echo "ERROR: failed to find chain ${chain} in ${input_file}, something is not right!" >&2 - exit 1 -fi - # Make it look like an array. vaas="[${vaas}]" echo $vaas diff --git a/sdk/testnet_consts.go b/sdk/testnet_consts.go index 498bb47ee5..a93ab978ef 100644 --- a/sdk/testnet_consts.go +++ b/sdk/testnet_consts.go @@ -41,7 +41,7 @@ var knownTestnetTokenbridgeEmitters = map[vaa.ChainID]string{ vaa.ChainIDBerachain: "000000000000000000000000a10f2eF61dE1f19f586ab8B6F2EbA89bACE63F7a", vaa.ChainIDSnaxchain: "000000000000000000000000a10f2eF61dE1f19f586ab8B6F2EbA89bACE63F7a", vaa.ChainIDUnichain: "000000000000000000000000a10f2eF61dE1f19f586ab8B6F2EbA89bACE63F7a", - vaa.ChainIDWorldchain: "000000000000000000000000376428e7f26D5867e69201b275553C45B09EE090", + vaa.ChainIDWorldchain: "000000000000000000000000430855B4D43b8AEB9D2B9869B74d58dda79C0dB2", vaa.ChainIDSepolia: "000000000000000000000000DB5492265f6038831E89f495670FF909aDe94bd9", vaa.ChainIDHolesky: "00000000000000000000000076d093BbaE4529a342080546cAFEec4AcbA59EC6", vaa.ChainIDArbitrumSepolia: "000000000000000000000000C7A204bDBFe983FCD8d8E61D02b475D4073fF97e",