@@ -72,8 +72,10 @@ func TestCreation(t *testing.T) {
72
72
{4229999 , ID {Hash : checksumToBytes (0x3ea159c7 ), Next : 4230000 }}, // Last Byzantium block
73
73
{4230000 , ID {Hash : checksumToBytes (0x97b544f3 ), Next : 4939394 }}, // First Constantinople block
74
74
{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
77
79
},
78
80
},
79
81
// Rinkeby test cases
@@ -90,17 +92,21 @@ func TestCreation(t *testing.T) {
90
92
{3660662 , ID {Hash : checksumToBytes (0x8d748b57 ), Next : 3660663 }}, // Last Byzantium block
91
93
{3660663 , ID {Hash : checksumToBytes (0xe49cab14 ), Next : 4321234 }}, // First Constantinople block
92
94
{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
95
99
},
96
100
},
97
101
// Goerli test cases
98
102
{
99
103
params .GoerliChainConfig ,
100
104
params .GoerliGenesisHash ,
101
105
[]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
104
110
},
105
111
},
106
112
}
0 commit comments