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

Write integration tests for relayer-next CLI #18

Open
4 tasks
soareschen opened this issue Feb 20, 2023 · 0 comments
Open
4 tasks

Write integration tests for relayer-next CLI #18

soareschen opened this issue Feb 20, 2023 · 0 comments
Assignees

Comments

@soareschen
Copy link
Collaborator

Summary

The integration test should be similar to the basic transfer test in tools/integration-test/src/tests/next/transfer.rs. The key difference is that instead of running the relayer directly, the relayer should be started from the command line.

Details

  • The integration test should test for IBC transfer in both ways, from chain A to chain B, then from chain B to chain A.
  • The relayer CLI command is in the form cargo run --bin hermes -- [args].
  • The relayer CLI is started as a process similar to the Python command in tools/integration-test/src/tests/python.rs. The command should be run in a separate thread, so that it do not block the test.
  • If the CLI is working, the IBC transfer in both directions should succeed.
@soareschen soareschen transferred this issue from informalsystems/hermes Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants