-
Notifications
You must be signed in to change notification settings - Fork 100
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
Implement ICS-26 routing in {Validation, Execution}Context
for ChanOpenTry
#347
Conversation
Codecov ReportBase: 62.23% // Head: 61.01% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #347 +/- ##
==========================================
- Coverage 62.23% 61.01% -1.23%
==========================================
Files 124 124
Lines 14134 14498 +364
==========================================
+ Hits 8797 8846 +49
- Misses 5337 5652 +315
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
{Validation, Execution}Context
{Validation, Execution}Context
for ChanOpenTry
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.
Thank you @plafer.
I'll probably revisit this PR after getting your response so I can absorb the design. Hope it doesn't cause you any delays.
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.
👌
…nOpenTry` (#347) * Add `Router` trait for `ValidationContext` * Add `lookup_module_by_port()` to new Router * Add `lookup_module()` in new`Router` * simplify module_id * channel router WIP * validate step * add immutable route to router * add on_chan_open_try_validate() cb for ics20 * add on_chan_open_try_validate() to Module * finish validate for chan_open_try * chan_open_try_execute * execute core handler * Add on_chan_open_try_execute * ics-20: execute * execute: emit logs and events * no ModuleExtras for validate callback * chan_open_try execute * update error * take `channel_id` out of validate() * chan_open_try_execute * variable naming * clippy
Work towards: #322
This implements ICS-26 routing in
{Validation, Execution}Context
for theChanOpenTry
message only. After this PR is merged, I'll implement the other messages in a similar manner.Note that we prioritize here a working implementation. We will improve it once a working version is shipped (see #325).
PR author checklist:
unclog
.docs/
).Reviewer checklist:
Files changed
in the GitHub PR explorer.