Skip to content

Commit

Permalink
chore: add notes on chain registry
Browse files Browse the repository at this point in the history
  • Loading branch information
notbdu authored and dshiell committed Aug 2, 2023
1 parent 3bc1800 commit f7f1a6c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/core/ics-032-multi-hop/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ For both channel handshake and packet messages, additional connection hops are d

The spec for channel handshakes and packets remains the same. See [ICS 4](https://github.com/cosmos/ibc/tree/main/spec/core/ics-004-channel-and-packet-semantics).

In terms of connection topology, a user would be able to determine a viable channel path from source -> destination using information from the [chain registry](https://github.com/cosmos/chain-registry). They can also independently verify this information via network queries.

### Multihop Relaying

Relayers would deliver channel handshake and IBC packets as they currently do except that they are required to provide more proof of the channel path. Relayers would scan packet events for the connectionHops field and determine if the packet is multi-hop by checking the number of hops in the field. If the number of hops is greater than one then the packet is a multi-hop packet and will need extra proof data.
Expand All @@ -62,6 +64,8 @@ For each multi-hop channel (detailed proof logic below):
- Query proof of packet commitment or handshake message commitment on source chain.
- Submit proofs and data to RPC endpoint on destination chain.

Relayers are connection topology aware with configurations sourced from the [chain registry](https://github.com/cosmos/chain-registry).

### Proof Generation & Verification

Graphical depiction of proof generation.
Expand Down

0 comments on commit f7f1a6c

Please sign in to comment.