-
Notifications
You must be signed in to change notification settings - Fork 142
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: Fix use of hardcoded cosmos... address #2122
Conversation
Nope, doesn't look like the way to do it actually, closing in favor of #2123 |
Reopening, because indeed it does seem like the way to fix the issue. The test failure with #2123 confirmed that on consumer chains, in integration tests the provider chain nonetheless seems to use the consumer bech32 prefix |
WalkthroughWalkthroughThe recent changes streamline the test suite for Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
* Fix use of hardcoded cosmos... address * Hardcode address and adjust comment * Revert line change * Revert formatting change (cherry picked from commit d332ad5)
test: Fix use of hardcoded cosmos... address (#2122) * Fix use of hardcoded cosmos... address * Hardcode address and adjust comment * Revert line change * Revert formatting change (cherry picked from commit d332ad5) Co-authored-by: Philip Offtermatt <[email protected]>
Merge commit from fork * add fix * Revert "test: Fix use of hardcoded cosmos... address (backport #2122) (#2142)" This reverts commit d7af672. * add fix * revert nit * call validateBasic * Revert "call validateBasic" This reverts commit 463caea5ce267cb8e1f529ccd38dddbf7338a10f. Co-authored-by: Simon Noetzlin <[email protected]>
Description
Closes: #N/A
Changes handling of a hardcoded address to be done with fixed prefix
This should fix an issue that was surfaced by consumer chains that run this test, since their bech32 prefix is different
This is to address an issue that was surfaced by a consumer chain when upgrading to ICSv5.1.1
In general, if we want to offer our tests to consumer chains to test against, we cannot hardcode cosmos... addresses (at least in the integration and unit tests, where it seems this will mess things up)
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...
Summary by CodeRabbit
Bug Fixes
Tests