Skip to content

Commit

Permalink
remove merkle path escaping
Browse files Browse the repository at this point in the history
  • Loading branch information
kruspy committed Apr 18, 2024
1 parent 2727503 commit 9260c6b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions utils/proofs.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package utils

import (
"fmt"
"net/url"

"cosmossdk.io/errors"
"github.com/cometbft/cometbft/proto/tendermint/crypto"
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 9260c6b

Please sign in to comment.