Skip to content

Commit 362c2dc

Browse files
committed
split unit tets into independent file
1 parent 18b8a74 commit 362c2dc

File tree

4 files changed

+608
-606
lines changed

4 files changed

+608
-606
lines changed

target_chains/stylus/contracts/wormhole/tests/initialize_contract.sh renamed to target_chains/stylus/contracts/wormhole/contract_tests/initialize_contract.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -e
44

5-
CONTRACT_ADDRESS="0x7c56d119a916da6593e1fd8c1d010161f20afd70"
5+
CONTRACT_ADDRESS="0x3f38404a2e3cb949bcdfa19a5c3bdf3fe375feb0"
66
RPC_URL="https://sepolia-rollup.arbitrum.io/rpc"
77

88
CHAIN_ID=60051
@@ -45,7 +45,7 @@ if cast send "$CONTRACT_ADDRESS" "initialize(address[],uint16,uint16,address)" "
4545
fi
4646

4747
echo "Testing getGuardianSet function..."
48-
if cast call "$CONTRACT_ADDRESS" "getGuardianSet(uint32)" 0 --rpc-url "$RPC_URL"; then
48+
if cast call "$CONTRACT_ADDRESS" "getGuardianSet(uint32)" 4 --rpc-url "$RPC_URL"; then
4949
echo "✅ Guardian set retrieval works - contract is initialized"
5050
else
5151
echo "❌ Guardian set retrieval failed"

0 commit comments

Comments
 (0)