Skip to content

Commit

Permalink
wormchain: updated ict wasm binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
kakucodes committed Feb 7, 2025
1 parent ec97f98 commit 5cee6bb
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 7 deletions.
Binary file modified wormchain/interchaintest/contracts/cw_wormhole.wasm
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion wormchain/interchaintest/ibc_receiver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ func instantiateWormholeIbcContracts(t *testing.T, ctx context.Context,

// Instantiate the Wormchain core contract
coreInstantiateMsg := helpers.CoreContractInstantiateMsg(t, wormchainConfig, vaa.ChainIDWormchain, guardians)
wormchainCoreContractInfo := helpers.StoreAndInstantiateWormholeContract(t, ctx, wormchain, "faucet", "./contracts/wormhole_core.wasm", "wormhole_core", coreInstantiateMsg, guardians)
wormchainCoreContractInfo := helpers.StoreAndInstantiateWormholeContract(t, ctx, wormchain, "faucet", "./contracts/cw_wormhole.wasm", "wormhole_core", coreInstantiateMsg, guardians)

// Store wormhole-ibc-receiver contract on wormchain
ibcReceiverContractCodeId := helpers.StoreContract(t, ctx, wormchain, "faucet", "./contracts/wormchain_ibc_receiver.wasm", guardians)
Expand Down
2 changes: 1 addition & 1 deletion wormchain/interchaintest/malformed_payload_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func TestMalformedPayload(t *testing.T) {
fmt.Println("IBC hooks contract addr: ", ibcHooksContractAddr)

// Store wormhole core contract
coreContractCodeId := helpers.StoreContract(t, ctx, wormchain, "faucet", "./contracts/wormhole_core.wasm", guardians)
coreContractCodeId := helpers.StoreContract(t, ctx, wormchain, "faucet", "./contracts/cw_wormhole.wasm", guardians)
fmt.Println("Core contract code id: ", coreContractCodeId)

// Instantiate wormhole core contract
Expand Down
6 changes: 3 additions & 3 deletions wormchain/interchaintest/shutdown_contracts_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ func TestShutdownCoreContract(t *testing.T) {

// Deploy contract to wormhole
coreInstantiateMsg := helpers.CoreContractInstantiateMsg(t, wormchainConfig, vaa.ChainIDWormchain, oldGuardians)
contractInfo := helpers.StoreAndInstantiateWormholeContract(t, ctx, wormchain, "faucet", "./contracts/wormhole_core.wasm", "wormhole_core", coreInstantiateMsg, oldGuardians)
contractInfo := helpers.StoreAndInstantiateWormholeContract(t, ctx, wormchain, "faucet", "./contracts/cw_wormhole.wasm", "wormhole_core", coreInstantiateMsg, oldGuardians)
contractAddr := contractInfo.Address

// Store a new version of the contract to upgrade to
wormNewCodeId := helpers.StoreContract(t, ctx, wormchain, "faucet", "./contracts/shutdown_wormhole_core.wasm", oldGuardians)
wormNewCodeId := helpers.StoreContract(t, ctx, wormchain, "faucet", "./contracts/shutdown_core_bridge_cosmwasm.wasm", oldGuardians)

// Submit contract upgrade
err := cw_wormhole.SubmitContractUpgrade(t, ctx, oldGuardians, wormchain, contractAddr, wormNewCodeId)
Expand Down Expand Up @@ -125,7 +125,7 @@ func TestShutdownTokenBridge(t *testing.T) {
osmoUser2 := users[2]

// Store wormhole core contract
coreContractCodeId := helpers.StoreContract(t, ctx, wormchain, "faucet", "./contracts/wormhole_core.wasm", guardians)
coreContractCodeId := helpers.StoreContract(t, ctx, wormchain, "faucet", "./contracts/cw_wormhole.wasm", guardians)
fmt.Println("Core contract code id: ", coreContractCodeId)

// Instantiate wormhole core contract
Expand Down
2 changes: 1 addition & 1 deletion wormchain/interchaintest/upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func TestUpgrade(t *testing.T) {
require.NoError(t, err, "error waiting for 2 blocks")

// Store wormhole core contract
coreContractCodeId := helpers.StoreContract(t, ctx, wormchain, "faucet", "./contracts/wormhole_core.wasm", guardians)
coreContractCodeId := helpers.StoreContract(t, ctx, wormchain, "faucet", "./contracts/cw_wormhole.wasm", guardians)
fmt.Println("Core contract code id: ", coreContractCodeId)

// Instantiate wormhole core contract
Expand Down
2 changes: 1 addition & 1 deletion wormchain/interchaintest/wormchain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func TestWormchain(t *testing.T) {
require.NoError(t, err, "error waiting for 2 blocks")

// Store wormhole core contract
coreContractCodeId := helpers.StoreContract(t, ctx, wormchain, "faucet", "./contracts/wormhole_core.wasm", guardians)
coreContractCodeId := helpers.StoreContract(t, ctx, wormchain, "faucet", "./contracts/cw_wormhole.wasm", guardians)
fmt.Println("Core contract code id: ", coreContractCodeId)

// Instantiate wormhole core contract
Expand Down

0 comments on commit 5cee6bb

Please sign in to comment.