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

feat: add channel query client to e2e test suite #1985

Merged
merged 2 commits into from
Aug 11, 2022

Conversation

colin-axner
Copy link
Contributor

@colin-axner colin-axner commented Aug 11, 2022

Description

closes: #1983


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.
  • Wrote unit and integration tests
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/)
  • Added relevant godoc comments.
  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • Re-reviewed Files changed in the Github PR explorer
  • Review Codecov Report in the comment section below once CI passes

@@ -0,0 +1,23 @@
package testsuite
Copy link
Contributor Author

Choose a reason for hiding this comment

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

thought it might be nice to have a separate file for core queries we support

Copy link
Contributor

Choose a reason for hiding this comment

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

makes sense 👍

channeltypes "github.com/cosmos/ibc-go/v5/modules/core/04-channel/types"
)

// QueryPacketCommitment queries the packet commitment on the given chain for the provided channel and sequence.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Maybe we should add a AssertPacketIsRelayed function?

Copy link
Contributor

Choose a reason for hiding this comment

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

Sounds like a useful assertion to have, we can always add it as we need it though if you don't want to include it in this PR.

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!

channeltypes "github.com/cosmos/ibc-go/v5/modules/core/04-channel/types"
)

// QueryPacketCommitment queries the packet commitment on the given chain for the provided channel and sequence.
Copy link
Contributor

Choose a reason for hiding this comment

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

Sounds like a useful assertion to have, we can always add it as we need it though if you don't want to include it in this PR.

@@ -0,0 +1,23 @@
package testsuite
Copy link
Contributor

Choose a reason for hiding this comment

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

makes sense 👍

Copy link
Contributor

@charleenfei charleenfei left a comment

Choose a reason for hiding this comment

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

lgtm!

@mergify mergify bot merged commit fe6f9a8 into main Aug 11, 2022
@mergify mergify bot deleted the colin/1983-channel-queryclient branch August 11, 2022 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add channel grpc query client to e2e testsuite
3 participants