From 5f00a8233487a408614c45b04f55758289fb43b9 Mon Sep 17 00:00:00 2001 From: Alex Peters Date: Tue, 5 Nov 2024 12:01:16 +0100 Subject: [PATCH] Correct legacy artifact initializer --- tests/systemtests/upgrade_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/systemtests/upgrade_test.go b/tests/systemtests/upgrade_test.go index a2000aeaea1c..5b064992a65a 100644 --- a/tests/systemtests/upgrade_test.go +++ b/tests/systemtests/upgrade_test.go @@ -1,4 +1,4 @@ -//go:build system_test && linux +//go:build system_test package systemtests @@ -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))