-
Notifications
You must be signed in to change notification settings - Fork 329
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
Relayer CLIs for client messages #251
Conversation
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.
Great stuff! Some minor nitpicks inline, feel free to ignore/postpone. Not approving yet since it's still marked WIP.
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.
Wohoo awesome! I mostly had minor suggestions.
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.
Looks good, thanks Anca!
relayer/src/tx/client.rs
Outdated
use crate::error::{Error, Kind}; | ||
|
||
#[derive(Clone, Debug)] | ||
pub struct CreateClientStateOptions { |
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.
Nitpick: Was wondering why wasn't this called "CreateClientOptions". (The name "ClientState" appears in my mind as a contrast to "Client Consensus State".)
Codecov Report
@@ Coverage Diff @@
## master #251 +/- ##
=========================================
+ Coverage 13.6% 35.2% +21.6%
=========================================
Files 69 107 +38
Lines 3752 7284 +3532
Branches 1374 2688 +1314
=========================================
+ Hits 513 2571 +2058
- Misses 2618 4322 +1704
+ Partials 621 391 -230
Continue to review full report at Codecov.
|
* relayer create client cli * Add conversion between MsgCreateClient and MsgCreateAnyClient * added forgotten file * added forgotten file * Move functionality in create_clien() to be used by the relayer * Remove ics07 messages * Cleanup * Move create_clien() in the relayer * Review comments * Review comments * Add new get_dummy_.. helper function * Remove backtrace from the output * Review comment
Closes: #207
Description
Implements the relayer CLI to create a client.
Notes
Currently light client fails to get the header from the source chain (#90)
Also
chain.send()
is not fully implemented (#47)For contributor use:
docs/
) and code commentsFiles changed
in the Github PR explorer