From 9260c6b3d8614c4ceec1ddd676c9baec009dc731 Mon Sep 17 00:00:00 2001 From: kruspy Date: Thu, 18 Apr 2024 17:30:47 +0200 Subject: [PATCH] remove merkle path escaping --- utils/proofs.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/utils/proofs.go b/utils/proofs.go index 362289c30..ada0a7677 100644 --- a/utils/proofs.go +++ b/utils/proofs.go @@ -2,7 +2,6 @@ package utils import ( "fmt" - "net/url" "cosmossdk.io/errors" "github.com/cometbft/cometbft/proto/tendermint/crypto" @@ -40,7 +39,7 @@ func ValidateProofOps(ctx sdk.Context, ibcKeeper *ibcKeeper.Keeper, connectionID return fmt.Errorf("unable to fetch client state") } - path := commitmenttypes.NewMerklePath([]string{module, url.PathEscape(string(key))}...) + path := commitmenttypes.NewMerklePath([]string{module, string(key)}...) merkleProof, err := commitmenttypes.ConvertProofs(proofOps) if err != nil {