diff --git a/dockernet/tests/integration_tests.bats b/dockernet/tests/integration_tests.bats index 9b46f86c09..612dec816f 100644 --- a/dockernet/tests/integration_tests.bats +++ b/dockernet/tests/integration_tests.bats @@ -406,7 +406,7 @@ setup_file() { # equal to 2 * REDEEM_AMOUNT (since there were two redemptions - one from autopilot, one here) redemption_record_amount=$($STRIDE_MAIN_CMD q records list-user-redemption-record | grep -Fiw 'amount' | head -n 1 | grep -o -E '[0-9]+') expected_record_minimum=$(echo "$REDEEM_AMOUNT * 2" | bc) - assert_equal "$(($redemption_record_amount > $expected_record_minimum))" "1" + assert_equal "$(($redemption_record_amount >= $expected_record_minimum))" "1" WAIT_FOR_STRING $STRIDE_LOGS "\[REDEMPTION] completed on $HOST_CHAIN_ID" WAIT_FOR_BLOCK $STRIDE_LOGS 2 diff --git a/x/interchainquery/keeper/msg_server.go b/x/interchainquery/keeper/msg_server.go index e4e1bd688a..36754ea86c 100644 --- a/x/interchainquery/keeper/msg_server.go +++ b/x/interchainquery/keeper/msg_server.go @@ -3,7 +3,6 @@ package keeper import ( "context" "fmt" - "net/url" "sort" "strings" @@ -88,7 +87,7 @@ func (k Keeper) VerifyKeyProof(ctx sdk.Context, msg *types.MsgSubmitQueryRespons var clientStateProof []*ics23.ProofSpec = tendermintClientState.ProofSpecs // Get the merkle path and merkle proof - path := commitmenttypes.NewMerklePath([]string{pathParts[1], url.PathEscape(string(query.RequestData))}...) + path := commitmenttypes.NewMerklePath([]string{pathParts[1], string(query.RequestData)}...) merkleProof, err := commitmenttypes.ConvertProofs(msg.ProofOps) if err != nil { return errorsmod.Wrapf(types.ErrInvalidICQProof, "Error converting proofs: %s", err.Error())