Skip to content

Commit

Permalink
Fix query not found host zone config.
Browse files Browse the repository at this point in the history
  • Loading branch information
tnv1 committed Jan 24, 2024
1 parent 9c5dadc commit 2323d4f
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions tests/interchaintest/host_zone_proposal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,6 @@ func TestHostZoneProposal(t *testing.T) {
require.NoError(t, err, "proposal status did not change to passed in expected number of blocks")
fmt.Printf("response: %s\n", response)

config, err = feeabsCli.QueryHostZoneConfigWithDenom(feeabs, ctx, "ibc/C4CFF46FD6DE35CA4CF4CE031E643C8FDC9BA4B99AE598E9B0ED98FE3A2319F9")
require.NoError(t, err)
require.Equal(t, config, &feeabsCli.HostChainFeeAbsConfigResponse{HostChainConfig: feeabsCli.HostChainFeeAbsConfig{
IbcDenom: "",
OsmosisPoolTokenDenomIn: "",
PoolId: "",
Frozen: false,
}})
_, err = feeabsCli.QueryHostZoneConfigWithDenom(feeabs, ctx, "ibc/C4CFF46FD6DE35CA4CF4CE031E643C8FDC9BA4B99AE598E9B0ED98FE3A2319F9")
require.Error(t, err) // not found
}

0 comments on commit 2323d4f

Please sign in to comment.