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

Relayer CLI for MsgConnectionOpenConfirm #360

Closed
5 tasks
adizere opened this issue Nov 4, 2020 · 1 comment
Closed
5 tasks

Relayer CLI for MsgConnectionOpenConfirm #360

adizere opened this issue Nov 4, 2020 · 1 comment
Labels
I: CLI Internal: related to the relayer's CLI
Milestone

Comments

@adizere
Copy link
Member

adizere commented Nov 4, 2020

Crate

relayer-cli and probably relayer

Proposal

Implement support for the following command:

relayer tx raw conn-confirm <to-chain-B> <remote-chain-A> <conn-id-on-A>

  • sends request to local client for chain-A to retrieve latest header header_A with height ha
  • makes the following queries to chain-A at height ha-1:
    - the connection with id conn-id-on-A with proof, stores results in connection and ack_proof
  • sends a MsgUpdateState to chain-A with:
        client_id = client-A-on-B, 
        header = header_A, 
        signer = get_account(to-chain-B)
  • sends a MsgConnectionOpenAck to chain-A with:
        connection_id = connection.counterparty_connection_id,
        ack_proof
        proofs_height=ha,
        signer = get_account(to-chain-B)

Note: get_... are functions that retrieve information from the relayer configuration.


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate milestone (priority) applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
@adizere adizere added this to the v0.0.6 milestone Nov 4, 2020
@adizere adizere added I: CLI Internal: related to the relayer's CLI I: logic Internal: related to the relaying logic and removed I: logic Internal: related to the relaying logic labels Nov 5, 2020
@adizere adizere mentioned this issue Nov 9, 2020
42 tasks
@ebuchman
Copy link
Member

Believe this was done in #397

@adizere adizere modified the milestones: v0.0.6, v0.0.5 Dec 2, 2020
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

No branches or pull requests

2 participants