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

Upgrade Test Improvements #4660

Merged

Conversation

chatton
Copy link
Contributor

@chatton chatton commented Sep 14, 2023

Description

Review after #4649

This PR makes a few small improvements to the upgrade tests.

  • Fixes the v6 - v7 upgrade test (it was failing only with hermes, a restart is required - the issue is linked) thank you @colin-axner for the help debugging this one!
  • Adds extra upgrade tests to the upgrade workflow, we will now run all the upgrade tests with both hermes and rly.
  • Adds additional IBC transfers post upgrade (verify relayers are still working)

closes: #4216


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.

chatton and others added 30 commits September 5, 2023 16:25
@chatton chatton changed the title Investigate failing TestV6toV7ChainUpgrade test Upgrade Test Improvements Sep 18, 2023
@chatton chatton marked this pull request as ready for review September 18, 2023 10:45
Copy link
Member

@damiannolan damiannolan left a comment

Choose a reason for hiding this comment

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

Awesome! Will we be able to remove this conditional on restarting hermes eventually? Do we need an issue of our own to track it?

LGTM 🚀

@chatton
Copy link
Contributor Author

chatton commented Sep 18, 2023

Awesome! Will we be able to remove this conditional on restarting hermes eventually? Do we need an issue of our own to track it?

LGTM 🚀

At the moment there's no tracker on our end, there is this issue. But also I don't think it's a huge priority to refactor the upgrade test to not have the restart.

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.

nice work @chatton!

@@ -103,6 +103,10 @@ func (s *TransferTestSuite) TestMsgTransfer_Succeeds_Nonincentivized() {

expected := testvalues.IBCTransferAmount
s.Require().Equal(expected, actualBalance.Int64())

if testvalues.DenomMetadataFeatureReleases.IsSupported(chainBVersion) {
Copy link
Contributor

Choose a reason for hiding this comment

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

🚀

@chatton chatton merged commit 059484d into main Sep 18, 2023
98 checks passed
@chatton chatton deleted the cian/issue#4646-investigate-failing-testv6tov7chainupgrade-test- branch September 18, 2023 14:11
@chatton chatton added this to the v8.0.0 milestone Sep 20, 2023
@chatton chatton self-assigned this Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Add v7 to v8 e2e upgrade test
3 participants