Skip to content

Commit

Permalink
test(system): Correct legacy chain initializer (#22433)
Browse files Browse the repository at this point in the history
  • Loading branch information
alpe authored Nov 5, 2024
1 parent a98ac47 commit 5850522
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/systemtests/upgrade_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build system_test && linux
//go:build system_test

package systemtests

Expand Down Expand Up @@ -28,7 +28,7 @@ func TestChainUpgrade(t *testing.T) {
currentBranchBinary := sut.execBinary
currentInitializer := sut.testnetInitializer
sut.SetExecBinary(legacyBinary)
sut.SetTestnetInitializer(InitializerWithBinary(legacyBinary, sut))
sut.SetTestnetInitializer(NewModifyConfigYamlInitializer(legacyBinary, sut))
sut.SetupChain()
votingPeriod := 5 * time.Second // enough time to vote
sut.ModifyGenesisJSON(t, SetGovVotingPeriod(t, votingPeriod))
Expand Down

0 comments on commit 5850522

Please sign in to comment.