Skip to content

Commit

Permalink
Improve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ysv committed Oct 13, 2023
1 parent 14aa56f commit cbcfcea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions integration-tests/ibc/ibc.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ func CreateOpenIBCChannelsAndStartRelaying(

pathName := fmt.Sprintf("%s-%s", srcChain.ChainSettings.ChainID, dstChain.ChainSettings.ChainID)

// port name samples:
// coreum: wasm.devcore14hj2tavq8fpesdwxxcu44rty3hh90vhujrvcmstl4zr3txmfvw9sd4f0ak
// osmosis: wasm.osmo14hj2tavq8fpesdwxxcu44rty3hh90vhujrvcmstl4zr3txmfvw9sq2r9g9
require.NoError(t, relayerSrcChain.CreateOpenChannels(
ctx,
relayerDstChain,
Expand Down
6 changes: 3 additions & 3 deletions integration-tests/ibc/wasm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,10 @@ func TestIBCTransferFromSmartContract(t *testing.T) {
requireT.NoError(osmosisChain.AwaitForBalance(ctx, t, osmosisRecipient, expectedOsmosisRecipientBalance))
}

// TestIBCCallFromSmartContract tests the IBC contract calls.
// TestIBCCallFromSmartContract tests the WASM contract calls via WASM IBC channel.
func TestIBCCallFromSmartContract(t *testing.T) {
// we don't enable the t.Parallel here since that test uses the config unseal hack because of the cosmos relayer
// implementation
// We don't enable the t.Parallel here since that test uses the config unseal hack.
// Config unseal is needed to run cosmos relayer which interacts with both chain SDK configs internally.
restoreSDKConfig := unsealSDKConfig()
defer restoreSDKConfig()

Expand Down

0 comments on commit cbcfcea

Please sign in to comment.