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: MajorUpgradeToV2 e2e test #3345

Merged
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions test/e2e/check_upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ func MajorUpgradeToV2(logger *log.Logger) error {
testnet, err := testnets.New("runMajorUpgradeToV2", seed, nil)
testnets.NoError("failed to create testnet", err)

testnet.SetConsensusParams(app.DefaultInitialConsensusParams())

defer testnet.Cleanup()

preloader, err := knuu.NewPreloader()
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func main() {
tests := []Test{
// FIXME both tests are currently failing
// {"MinorVersionCompatibility", MinorVersionCompatibility},
// {"MajorUpgradeToV2", MajorUpgradeToV2},
{"MajorUpgradeToV2", MajorUpgradeToV2},
{"E2ESimple", E2ESimple},
}

Expand Down
3 changes: 1 addition & 2 deletions test/e2e/simple.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ func E2ESimple(logger *log.Logger) error {
logger.Println("Running simple e2e test", "version", latestVersion)

testnet, err := testnets.New("E2ESimple", seed, nil)
testnets.NoError("failed to create testnet", err)

testnets.NoError("failed to create testnets", err)
defer testnet.Cleanup()

logger.Println("Creating testnet validators")
Expand Down
Loading