Skip to content

Commit

Permalink
edit path for merkle
Browse files Browse the repository at this point in the history
  • Loading branch information
schnetzlerjoe committed Aug 1, 2022
1 parent 18c3acd commit f3479be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions network/relayer/config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ paths:
connection-id: connection-0
dst:
chain-id: osmo-test-4
client-id: 07-tendermint-2222
connection-id: connection-1747
client-id: 07-tendermint-2230
connection-id: connection-1755
src-channel-filter:
rule: ""
channel-list: []
Expand Down
2 changes: 1 addition & 1 deletion x/query/keeper/msg_server_interquery.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func (k msgServer) CreateInterqueryResult(goCtx context.Context, msg *types.MsgC
return nil, fmt.Errorf("unable to fetch consensus state for (client id: %s) (msg height: %d) (revision height: %d + revision number: %d)", connection.ClientId, msg.Height, height.GetRevisionHeight(), height.GetRevisionNumber())
}

path := commitmenttypes.NewMerklePath([]string{pathList[1], url.PathEscape(string(interquery.Key))}...)
path := commitmenttypes.NewMerklePath([]string{pathList[2], url.PathEscape(string(interquery.Key))}...)

merkleProof, err := commitmenttypes.ConvertProofs(msg.Proof)
if err != nil {
Expand Down

0 comments on commit f3479be

Please sign in to comment.