From cf5a920079d32329ebe0d8b434d88dc7ba0c3b7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= Date: Thu, 31 Oct 2019 10:42:30 +0200 Subject: [PATCH] core/forkid: add some more test items for mainnet istanbul --- core/forkid/forkid_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/forkid/forkid_test.go b/core/forkid/forkid_test.go index bb67ed49af..ee201ae9ae 100644 --- a/core/forkid/forkid_test.go +++ b/core/forkid/forkid_test.go @@ -56,7 +56,9 @@ func TestCreation(t *testing.T) { {4370000, ID{Hash: checksumToBytes(0xa00bc324), Next: 7280000}}, // First Byzantium block {7279999, ID{Hash: checksumToBytes(0xa00bc324), Next: 7280000}}, // Last Byzantium block {7280000, ID{Hash: checksumToBytes(0x668db0af), Next: 9069000}}, // First and last Constantinople, first Petersburg block - {9069001, ID{Hash: checksumToBytes(0x879d6e30), Next: 0}}, // Today Istanbul block + {9068999, ID{Hash: checksumToBytes(0x668db0af), Next: 9069000}}, // Last Petersburg block + {9069000, ID{Hash: checksumToBytes(0x879d6e30), Next: 0}}, // Today Istanbul block + {10000000, ID{Hash: checksumToBytes(0x879d6e30), Next: 0}}, // Future Istanbul block }, }, // Ropsten test cases