@@ -72,8 +72,10 @@ func TestCreation(t *testing.T) {
7272 {4229999 , ID {Hash : checksumToBytes (0x3ea159c7 ), Next : 4230000 }}, // Last Byzantium block
7373 {4230000 , ID {Hash : checksumToBytes (0x97b544f3 ), Next : 4939394 }}, // First Constantinople block
7474 {4939393 , ID {Hash : checksumToBytes (0x97b544f3 ), Next : 4939394 }}, // Last Constantinople block
75- {4939394 , ID {Hash : checksumToBytes (0xd6e2149b ), Next : 0 }}, // First Petersburg block
76- {5822692 , ID {Hash : checksumToBytes (0xd6e2149b ), Next : 0 }}, // Today Petersburg block
75+ {4939394 , ID {Hash : checksumToBytes (0xd6e2149b ), Next : 6485846 }}, // First Petersburg block
76+ {6485845 , ID {Hash : checksumToBytes (0xd6e2149b ), Next : 6485846 }}, // Last Petersburg block
77+ {6485846 , ID {Hash : checksumToBytes (0x4bc66396 ), Next : 0 }}, // First Istanbul block
78+ {7500000 , ID {Hash : checksumToBytes (0x4bc66396 ), Next : 0 }}, // Future Istanbul block
7779 },
7880 },
7981 // Rinkeby test cases
@@ -90,17 +92,21 @@ func TestCreation(t *testing.T) {
9092 {3660662 , ID {Hash : checksumToBytes (0x8d748b57 ), Next : 3660663 }}, // Last Byzantium block
9193 {3660663 , ID {Hash : checksumToBytes (0xe49cab14 ), Next : 4321234 }}, // First Constantinople block
9294 {4321233 , ID {Hash : checksumToBytes (0xe49cab14 ), Next : 4321234 }}, // Last Constantinople block
93- {4321234 , ID {Hash : checksumToBytes (0xafec6b27 ), Next : 0 }}, // First Petersburg block
94- {4586649 , ID {Hash : checksumToBytes (0xafec6b27 ), Next : 0 }}, // Today Petersburg block
95+ {4321234 , ID {Hash : checksumToBytes (0xafec6b27 ), Next : 5435345 }}, // First Petersburg block
96+ {5435344 , ID {Hash : checksumToBytes (0xafec6b27 ), Next : 5435345 }}, // Last Petersburg block
97+ {5435345 , ID {Hash : checksumToBytes (0xcbdb8838 ), Next : 0 }}, // First Istanbul block
98+ {6000000 , ID {Hash : checksumToBytes (0xcbdb8838 ), Next : 0 }}, // Future Istanbul block
9599 },
96100 },
97101 // Goerli test cases
98102 {
99103 params .GoerliChainConfig ,
100104 params .GoerliGenesisHash ,
101105 []testcase {
102- {0 , ID {Hash : checksumToBytes (0xa3f5ab08 ), Next : 0 }}, // Unsynced, last Frontier, Homestead, Tangerine, Spurious, Byzantium, Constantinople and first Petersburg block
103- {795329 , ID {Hash : checksumToBytes (0xa3f5ab08 ), Next : 0 }}, // Today Petersburg block
106+ {0 , ID {Hash : checksumToBytes (0xa3f5ab08 ), Next : 1561651 }}, // Unsynced, last Frontier, Homestead, Tangerine, Spurious, Byzantium, Constantinople and first Petersburg block
107+ {1561650 , ID {Hash : checksumToBytes (0xa3f5ab08 ), Next : 1561651 }}, // Last Petersburg block
108+ {1561651 , ID {Hash : checksumToBytes (0xc25efa5c ), Next : 0 }}, // First Istanbul block
109+ {2000000 , ID {Hash : checksumToBytes (0xc25efa5c ), Next : 0 }}, // Future Istanbul block
104110 },
105111 },
106112 }
0 commit comments