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

Relay IBC packets in test code #499

Closed
ethanfrey opened this issue Oct 29, 2020 · 2 comments
Closed

Relay IBC packets in test code #499

ethanfrey opened this issue Oct 29, 2020 · 2 comments

Comments

@ethanfrey
Copy link
Contributor

We want to be able to query an IBC packet from one chain and post it to another, along with the appropriate block header and any merkle proofs needed.

This may be useful for setting up test vectors in #494 (if you can survive flying blind for a bit). It is not blocked on #492, as we want that later, but for now can blindly trust the headers we get from the chain (they will be verified on the other side anyway).

We will need 2 chains (simapp) in CI to test this.

This is the Go relayer you can use for reference: https://github.com/cosmos/relayer In particular the following commands:

  • rly tx link demo -d -o 3s (this sets up the client, connection, and maybe channel)
  • rly tx transfer ibc-0 ibc-1 1000000samoleans $(rly chains address ibc-1) (this creates the first outgoing packet)
  • rly tx relay demo -d (this sends the packet, and possibly returns the ack)
@willclarktech
Copy link
Contributor

@ethanfrey Is this issue still relevant for CosmJS or is it covered by the ts-relayer project?

@ethanfrey
Copy link
Contributor Author

This is covered by the relayer. You can close this

CosmJS automation moved this from Next to Done Apr 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

3 participants