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

test: adding e2e tests for 09-localhost #3119

Merged
merged 15 commits into from
Feb 15, 2023

Conversation

damiannolan
Copy link
Member

@damiannolan damiannolan commented Feb 7, 2023

Description

  • Adding interchain accounts e2e test on localhost channel
  • Adding transfer e2e test on localhost channel

ref: #3033

Commit Message / Changelog Entry

NA

see the guidelines for commit messages. (view raw markdown for examples)


Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • Targeted PR against correct branch (see CONTRIBUTING.md).
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Code follows the module structure standards and Go style guide.
  • Wrote unit and integration tests.
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/).
  • Added relevant godoc comments.
  • Provide a commit message to be used for the changelog entry in the PR description for review.
  • Re-reviewed Files changed in the Github PR explorer.
  • Review Codecov Report in the comment section below once CI passes.

@damiannolan damiannolan changed the title test: adding e2e transfer test for 09-localhost test: adding e2e tests for 09-localhost Feb 8, 2023
@@ -13,7 +13,7 @@ import (
)

const (
cosmosRelayerRepository = "ghcr.io/cosmos/relayer"
cosmosRelayerRepository = "damiannolan/rly"
Copy link
Member Author

Choose a reason for hiding this comment

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

This is a custom build pushed to dockerhub for temporary use. It includes type registration of the 09-localhost ClientState so that the relayer can continue to function as normal when querying all client states from a node.

Copy link
Member Author

Choose a reason for hiding this comment

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

Type registration in the relayer is performed here

Copy link
Contributor

@chatton chatton left a comment

Choose a reason for hiding this comment

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

Nice these are looking great, is there a workflow run of these somewhere? I thought they would expect them to have been run on this PR even though the target branch is not main

Copy link
Member

@AdityaSripal AdityaSripal left a comment

Choose a reason for hiding this comment

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

Nice work!!

@damiannolan
Copy link
Member Author

Nice these are looking great, is there a workflow run of these somewhere? I thought they would expect them to have been run on this PR even though the target branch is not main

Tests running in CI now and passing! 🙏

Copy link
Contributor

@crodriguezvega crodriguezvega left a comment

Choose a reason for hiding this comment

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

Excellent work, @damiannolan. Specially with handling all the handshake messages!

I left just a couple of potential improvements.

e2e/tests/interchain_accounts/localhost_test.go Outdated Show resolved Hide resolved
e2e/tests/transfer/localhost_test.go Outdated Show resolved Hide resolved
Copy link
Contributor

@chatton chatton left a comment

Choose a reason for hiding this comment

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

LGTM nice work on these 👍

@damiannolan damiannolan merged commit 63111de into 09-localhost Feb 15, 2023
@damiannolan damiannolan deleted the damian/3033-localhost-e2e branch February 15, 2023 15:02
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

Successfully merging this pull request may close these issues.

4 participants