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 CLIs for client create messages #207

Closed
4 tasks
ancazamfir opened this issue Aug 14, 2020 · 1 comment · Fixed by #251
Closed
4 tasks

Relayer CLIs for client create messages #207

ancazamfir opened this issue Aug 14, 2020 · 1 comment · Fixed by #251
Labels
I: CLI Internal: related to the relayer's CLI
Milestone

Comments

@ancazamfir
Copy link
Collaborator

ancazamfir commented Aug 14, 2020

Summary

We should be able to send transactions from the relayer CLI for all IBC client related messages.

Proposal

The following CLIs should be implemented by the relayer:

  1. relayer tx raw create-client <to-chain-B> <chain-A> <client-id-A>
    • creates a client of chain-A, with id client-id-A, on chain to-chain-B:
      • sends request to local relayer light client for chain-A to retrieve latest header header_A
      • sends a MsgCreateClient to chain-B with:
    client_id = client-id-A,
    header=header_A,
    trusting_period: get_trusting_period(chain-A),
    bonding_period: get_bonding_period(chain-A),
    signer: get_account(chain-B),
  1. relayer tx raw update-client <to-chain-B> <chain-A> <client-id-A> -h <A-height>
    This sub-issue was moved here: Relayer CLIs for client update message #277

For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
@ancazamfir ancazamfir changed the title Relayer CLIs for client messages transactions Relayer CLIs for client messages Aug 14, 2020
@adizere adizere added this to the v0.0.4 milestone Sep 24, 2020
@adizere adizere added the I: CLI Internal: related to the relayer's CLI label Sep 24, 2020
@ancazamfir
Copy link
Collaborator Author

update-client still needs to be implemented.

@ancazamfir ancazamfir reopened this Sep 25, 2020
@adizere adizere changed the title Relayer CLIs for client messages Relayer CLIs for client create messages Sep 30, 2020
@adizere adizere closed this as completed Sep 30, 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

Successfully merging a pull request may close this issue.

2 participants