diff --git a/config/src/main/resources/mainnet.json b/config/src/main/resources/mainnet.json index b853e7bcf6..ce6570fc7c 100644 --- a/config/src/main/resources/mainnet.json +++ b/config/src/main/resources/mainnet.json @@ -9,6 +9,7 @@ "eip155Block": 2675000, "eip158Block": 2675000, "byzantiumBlock": 4370000, + "constantinopleBlock": 7080000, "ethash": { } diff --git a/ethereum/core/src/test/java/tech/pegasys/pantheon/ethereum/mainnet/MainnetProtocolScheduleTest.java b/ethereum/core/src/test/java/tech/pegasys/pantheon/ethereum/mainnet/MainnetProtocolScheduleTest.java index 9b69aae64a..95355ef0df 100644 --- a/ethereum/core/src/test/java/tech/pegasys/pantheon/ethereum/mainnet/MainnetProtocolScheduleTest.java +++ b/ethereum/core/src/test/java/tech/pegasys/pantheon/ethereum/mainnet/MainnetProtocolScheduleTest.java @@ -37,7 +37,9 @@ public void shouldReturnDefaultProtocolSpecsWhenCustomNumbersAreNotUsed() { .isEqualTo("TangerineWhistle"); Assertions.assertThat(sched.getByBlockNumber(2_675_000L).getName()).isEqualTo("SpuriousDragon"); Assertions.assertThat(sched.getByBlockNumber(4_730_000L).getName()).isEqualTo("Byzantium"); - Assertions.assertThat(sched.getByBlockNumber(Long.MAX_VALUE).getName()).isEqualTo("Byzantium"); + Assertions.assertThat(sched.getByBlockNumber(7_080_000L).getName()).isEqualTo("Constantinople"); + Assertions.assertThat(sched.getByBlockNumber(Long.MAX_VALUE).getName()) + .isEqualTo("Constantinople"); } @Test