From adb54d67d809fb986e06df254ff6d2bea6294352 Mon Sep 17 00:00:00 2001 From: Danno Ferrin Date: Thu, 19 Sep 2019 09:53:28 -0600 Subject: [PATCH] [PAN-3160] Rinkeby Istanbul fork block (#35) The Rinkeby Fork Block for Istanbul is 5435345, targeting 13 Nov 2019. As announced by the Rinkeby maintainers here: https://twitter.com/peter_szilagyi/status/1174580897980592129 Signed-off-by: Danno Ferrin --- config/src/main/resources/rinkeby.json | 1 + .../besu/ethereum/mainnet/MainnetProtocolScheduleTest.java | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config/src/main/resources/rinkeby.json b/config/src/main/resources/rinkeby.json index 0809de27f4d..63769c7a43a 100644 --- a/config/src/main/resources/rinkeby.json +++ b/config/src/main/resources/rinkeby.json @@ -9,6 +9,7 @@ "byzantiumBlock": 1035301, "constantinopleBlock": 3660663, "constantinopleFixBlock": 4321234, + "istanbulBlock": 5435345, "clique": { "blockperiodseconds": 15, "epochlength": 30000 diff --git a/ethereum/core/src/test/java/org/hyperledger/besu/ethereum/mainnet/MainnetProtocolScheduleTest.java b/ethereum/core/src/test/java/org/hyperledger/besu/ethereum/mainnet/MainnetProtocolScheduleTest.java index ff63da01772..bfb44606a34 100644 --- a/ethereum/core/src/test/java/org/hyperledger/besu/ethereum/mainnet/MainnetProtocolScheduleTest.java +++ b/ethereum/core/src/test/java/org/hyperledger/besu/ethereum/mainnet/MainnetProtocolScheduleTest.java @@ -131,7 +131,7 @@ public void shouldCreateRinkebyConfig() throws Exception { Assertions.assertThat(sched.getByBlockNumber(3_660_663L).getName()).isEqualTo("Constantinople"); Assertions.assertThat(sched.getByBlockNumber(4_321_234L).getName()) .isEqualTo("ConstantinopleFix"); - Assertions.assertThat(sched.getByBlockNumber(Long.MAX_VALUE).getName()) - .isEqualTo("ConstantinopleFix"); + Assertions.assertThat(sched.getByBlockNumber(5_435_345L).getName()).isEqualTo("Istanbul"); + Assertions.assertThat(sched.getByBlockNumber(Long.MAX_VALUE).getName()).isEqualTo("Istanbul"); } }