Skip to content

Commit e405f63

Browse files
authored
Merge pull request #411 from persistenceOne/marc/merkle-path
fix: remove merkle path escaping
2 parents 2727503 + 9260c6b commit e405f63

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

utils/proofs.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package utils
22

33
import (
44
"fmt"
5-
"net/url"
65

76
"cosmossdk.io/errors"
87
"github.com/cometbft/cometbft/proto/tendermint/crypto"
@@ -40,7 +39,7 @@ func ValidateProofOps(ctx sdk.Context, ibcKeeper *ibcKeeper.Keeper, connectionID
4039
return fmt.Errorf("unable to fetch client state")
4140
}
4241

43-
path := commitmenttypes.NewMerklePath([]string{module, url.PathEscape(string(key))}...)
42+
path := commitmenttypes.NewMerklePath([]string{module, string(key)}...)
4443

4544
merkleProof, err := commitmenttypes.ConvertProofs(proofOps)
4645
if err != nil {

0 commit comments

Comments
 (0)