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

Fix E2E Tests: Update ibctest (Cosmos SDK 0.46) #1949

Merged
merged 7 commits into from
Aug 10, 2022
Merged

Conversation

chatton
Copy link
Contributor

@chatton chatton commented Aug 9, 2022

Description

This PR updates the to the version of ibctest which uses the cosmos sdk 0.46, this should allow us to run E2E tests again.

closes #1870


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

@chatton chatton changed the title Update ibctest (Cosmos SDK 0.46) Fix E2E Tests: Update ibctest (Cosmos SDK 0.46) Aug 10, 2022
Comment on lines -312 to -321
s.T().Cleanup(func() {
if !s.T().Failed() {
for _, c := range []*cosmos.CosmosChain{chainA, chainB} {
if err := c.Cleanup(ctx); err != nil {
s.T().Logf("Chain cleanup for %s failed: %v", c.Config().ChainID, err)
}
}
}
})

Copy link
Contributor Author

Choose a reason for hiding this comment

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

the cleanup logic should be handled in ibctest now

)

// TODO: using version v1.0.0 causes a build failure. This is the previous version which compiles successfully.
replace github.com/ChainSafe/go-schnorrkel => github.com/ChainSafe/go-schnorrkel v0.0.0-20200405005733-88cbf1b4c40d
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is the same version used in ibc-go go.mod

Copy link
Member

Choose a reason for hiding this comment

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

weird

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.

Cheers 🥂

@codecov-commenter
Copy link

Codecov Report

Merging #1949 (8dd8e0b) into main (af4e651) will increase coverage by 0.07%.
The diff coverage is 80.29%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1949      +/-   ##
==========================================
+ Coverage   80.04%   80.12%   +0.07%     
==========================================
  Files         166      167       +1     
  Lines       12421    11766     -655     
==========================================
- Hits         9943     9428     -515     
+ Misses       2013     1923      -90     
+ Partials      465      415      -50     
Impacted Files Coverage Δ
cmd/build_test_matrix/main.go 70.83% <0.00%> (-3.46%) ⬇️
...27-interchain-accounts/controller/keeper/keeper.go 94.73% <ø> (ø)
.../apps/27-interchain-accounts/host/keeper/keeper.go 83.33% <ø> (ø)
modules/apps/27-interchain-accounts/module.go 55.55% <0.00%> (-2.14%) ⬇️
modules/apps/29-fee/keeper/keeper.go 92.48% <ø> (ø)
modules/apps/29-fee/module.go 54.54% <0.00%> (-1.02%) ⬇️
modules/apps/transfer/keeper/keeper.go 91.17% <ø> (ø)
modules/apps/transfer/keeper/migrations.go 93.10% <ø> (-0.23%) ⬇️
modules/apps/transfer/keeper/msg_server.go 100.00% <ø> (+22.22%) ⬆️
modules/apps/transfer/module.go 57.14% <0.00%> (-0.93%) ⬇️
... and 98 more

@chatton chatton merged commit c304a7c into main Aug 10, 2022
@chatton chatton deleted the update-ibctest-sdk-0-46 branch August 10, 2022 09:07
Copy link
Contributor

@colin-axner colin-axner left a comment

Choose a reason for hiding this comment

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

post merge ACK

mergify bot pushed a commit that referenced this pull request Aug 24, 2022
(cherry picked from commit c304a7c)

# Conflicts:
#	e2e/testsuite/testsuite.go
mergify bot pushed a commit that referenced this pull request Aug 24, 2022
(cherry picked from commit c304a7c)

# Conflicts:
#	e2e/testsuite/testsuite.go
damiannolan added a commit that referenced this pull request Aug 24, 2022
* Fix E2E Tests: Update ibctest (Cosmos SDK 0.46) (#1949)

(cherry picked from commit c304a7c)

# Conflicts:
#	e2e/testsuite/testsuite.go

* resolving conflicts

Co-authored-by: Cian Hatton <[email protected]>
Co-authored-by: Damian Nolan <[email protected]>
damiannolan added a commit that referenced this pull request Aug 24, 2022
* Fix E2E Tests: Update ibctest (Cosmos SDK 0.46) (#1949)

(cherry picked from commit c304a7c)

# Conflicts:
#	e2e/testsuite/testsuite.go

* resolving conflicts

Co-authored-by: Cian Hatton <[email protected]>
Co-authored-by: Damian Nolan <[email protected]>
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.

e2e tests are broken on main
4 participants