forked from cosmos/cosmos-sdk
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(simapp,systemtests): fix chain upgrade (cosmos#22669)
- Loading branch information
Showing
3 changed files
with
4 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,16 +19,13 @@ import ( | |
) | ||
|
||
func TestChainUpgrade(t *testing.T) { | ||
// err> panic: failed to load latest version: failed to load store: initial version set to 22, but found earlier version 1 [cosmossdk.io/[email protected]/rootmulti/store.go:256] | ||
t.Skip("Skipped until any v052 artifact is available AND main branch handles the store upgrade proper") | ||
|
||
// Scenario: | ||
// start a legacy chain with some state | ||
// when a chain upgrade proposal is executed | ||
// then the chain upgrades successfully | ||
systest.Sut.StopChain() | ||
|
||
legacyBinary := FetchExecutable(t, "v0.52") | ||
legacyBinary := FetchExecutable(t, "0.52.0-beta.3") | ||
t.Logf("+++ legacy binary: %s\n", legacyBinary) | ||
currentBranchBinary := systest.Sut.ExecBinary() | ||
currentInitializer := systest.Sut.TestnetInitializer() | ||
|