Skip to content

Commit c55aa61

Browse files
asalzmannsampocs
andauthored
remove url escape icq (#1068)
Co-authored-by: sampocs <[email protected]>
1 parent 10ba0ee commit c55aa61

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

dockernet/tests/integration_tests.bats

+1-1
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ setup_file() {
406406
# equal to 2 * REDEEM_AMOUNT (since there were two redemptions - one from autopilot, one here)
407407
redemption_record_amount=$($STRIDE_MAIN_CMD q records list-user-redemption-record | grep -Fiw 'amount' | head -n 1 | grep -o -E '[0-9]+')
408408
expected_record_minimum=$(echo "$REDEEM_AMOUNT * 2" | bc)
409-
assert_equal "$(($redemption_record_amount > $expected_record_minimum))" "1"
409+
assert_equal "$(($redemption_record_amount >= $expected_record_minimum))" "1"
410410

411411
WAIT_FOR_STRING $STRIDE_LOGS "\[REDEMPTION] completed on $HOST_CHAIN_ID"
412412
WAIT_FOR_BLOCK $STRIDE_LOGS 2

x/interchainquery/keeper/msg_server.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package keeper
33
import (
44
"context"
55
"fmt"
6-
"net/url"
76
"sort"
87
"strings"
98

@@ -88,7 +87,7 @@ func (k Keeper) VerifyKeyProof(ctx sdk.Context, msg *types.MsgSubmitQueryRespons
8887
var clientStateProof []*ics23.ProofSpec = tendermintClientState.ProofSpecs
8988

9089
// Get the merkle path and merkle proof
91-
path := commitmenttypes.NewMerklePath([]string{pathParts[1], url.PathEscape(string(query.RequestData))}...)
90+
path := commitmenttypes.NewMerklePath([]string{pathParts[1], string(query.RequestData)}...)
9291
merkleProof, err := commitmenttypes.ConvertProofs(msg.ProofOps)
9392
if err != nil {
9493
return errorsmod.Wrapf(types.ErrInvalidICQProof, "Error converting proofs: %s", err.Error())

0 commit comments

Comments
 (0)