diff --git a/acceptance-tests/src/acceptance-test/java/tech/pegasys/teku/test/acceptance/CapellaUpgradeAcceptanceTest.java b/acceptance-tests/src/acceptance-test/java/tech/pegasys/teku/test/acceptance/CapellaUpgradeAcceptanceTest.java index c3d113b9346..d866862bde1 100644 --- a/acceptance-tests/src/acceptance-test/java/tech/pegasys/teku/test/acceptance/CapellaUpgradeAcceptanceTest.java +++ b/acceptance-tests/src/acceptance-test/java/tech/pegasys/teku/test/acceptance/CapellaUpgradeAcceptanceTest.java @@ -44,6 +44,8 @@ void shouldUpgradeToCapella() throws Exception { final UInt64 currentTime = timeProvider.getTimeInSeconds(); final int genesisTime = currentTime.plus(30).intValue(); // magic node startup time final int shanghaiTime = genesisTime + 4 * 2; // 4 slots, 2 seconds each + final Map genesisOverrides = + Map.of("shanghaiTime", String.valueOf(shanghaiTime)); BesuNode primaryEL = createBesuNode( @@ -54,7 +56,7 @@ void shouldUpgradeToCapella() throws Exception { .withGenesisFile("besu/mergedGenesis.json") .withP2pEnabled(true) .withJwtTokenAuthorization(JWT_FILE), - Map.of("shanghaiTime", String.valueOf(shanghaiTime))); + genesisOverrides); primaryEL.start(); BesuNode secondaryEL = @@ -66,7 +68,7 @@ void shouldUpgradeToCapella() throws Exception { .withGenesisFile("besu/mergedGenesis.json") .withP2pEnabled(true) .withJwtTokenAuthorization(JWT_FILE), - Map.of("shanghaiTime", String.valueOf(shanghaiTime))); + genesisOverrides); secondaryEL.start(); secondaryEL.addPeer(primaryEL);