Skip to content
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

ConnOpenInit from the CLI #246

Merged
merged 13 commits into from
Sep 30, 2020
Merged

ConnOpenInit from the CLI #246

merged 13 commits into from
Sep 30, 2020

Conversation

ebuchman
Copy link
Member

@ebuchman ebuchman commented Sep 21, 2020

Closes: #206

Description

This is basically the tx signing work from #242 applied on top of this branch for use with ConnOpenInit.

It doesn't compile yet due to dependency issues which should be resolved by #243

Keeping this PR for the ConnOpenInit CLI logic only.

The build and sign transaction will be tracked and completed by #47 and when #243 is ready.


For contributor use:

  • Unit tests written
  • Added test to CI if applicable
  • Updated CHANGELOG_PENDING.md
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Updated relevant documentation (docs/) and code comments
  • Re-reviewed Files changed in the Github PR explorer

@andynog
Copy link
Contributor

andynog commented Sep 24, 2020

I've refactored the code to focus only on having the MsgConnOpenInit CLI logic working properly.

I've commented out the build and sign tx code for now. So the code is compiling and building now.

But I still need to implement the DomainType logic and a few minor things to have the command executing properly (without the tx sign) which I'll do next. Once I have these then should be good to merge and and it's ready for review I'll ask people to review it.

@andynog andynog added I: CLI Internal: related to the relayer's CLI work in progress labels Sep 24, 2020
Copy link
Collaborator

@ancazamfir ancazamfir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! I added few minor comments.

relayer/src/tx/connection.rs Outdated Show resolved Hide resolved
relayer/src/tx/connection.rs Outdated Show resolved Hide resolved
relayer/src/tx/connection.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@ancazamfir ancazamfir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thanks Andy!

@ancazamfir ancazamfir marked this pull request as ready for review September 30, 2020 06:15
@ancazamfir ancazamfir merged commit 76e02cc into master Sep 30, 2020
@ancazamfir ancazamfir deleted the andy/cli-open-conn branch September 30, 2020 06:23
hu55a1n1 pushed a commit to hu55a1n1/hermes that referenced this pull request Sep 13, 2022
* Initial implementation for the relayer tx command informalsystems#206

* Adding initial logic to support signing informalsystems#47

* Adding logic for auth tx

* Implementing initial support to conn open init and tx informalsystems#206

* Changes:
- Implemented logic for tx raw connection open init
- Logic to build the message only using protobuf types
- Got some signing logic but not validated
- Still needs lots of refactoring and cleaning

* update signing code to use  k256

* Ignore .idea

* Refactoring the ConnOpenInit logic. Disabling the build and sign tx code informalsystems#246

* Added logic for the conn init tx on relayer

* Finished implementing MsgConnectionOpenInit. No signing implemented informalsystems#246

Co-authored-by: Andy Nogueira <me@andynogueira.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I: CLI Internal: related to the relayer's CLI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement relayer CLI for MsgConnectionOpenInit
3 participants