-
Notifications
You must be signed in to change notification settings - Fork 391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Future compatibility with multi-hop routing #150
Conversation
|
Split off loopback - #151 |
assert(connection.state === OPEN) | ||
assert(packet.destConnection === connection.counterpartyConnectionIdentifier) | ||
assert(packet.connectionHops === channel.connectionHops) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will this be true with number of connection hops > 2? Is the plan to have all hops in the packet?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not necessary; it depends on the details of how we store the routing table.
For now it is true though.
Ref https://github.com/cosmos/ics/issues/138#issuecomment-509029441