@@ -61,8 +61,10 @@ func TestCreation(t *testing.T) {
61
61
{9199999 , ID {Hash : checksumToBytes (0x879d6e30 ), Next : 9200000 }}, // Last Istanbul and first Muir Glacier block
62
62
{9200000 , ID {Hash : checksumToBytes (0xe029e991 ), Next : 12244000 }}, // First Muir Glacier block
63
63
{12243999 , ID {Hash : checksumToBytes (0xe029e991 ), Next : 12244000 }}, // Last Muir Glacier block
64
- {12244000 , ID {Hash : checksumToBytes (0x0eb440f6 ), Next : 0 }}, // First Berlin block
65
- {20000000 , ID {Hash : checksumToBytes (0x0eb440f6 ), Next : 0 }}, // Future Berlin block
64
+ {12244000 , ID {Hash : checksumToBytes (0x0eb440f6 ), Next : 12965000 }}, // First Berlin block
65
+ {12964999 , ID {Hash : checksumToBytes (0x0eb440f6 ), Next : 12965000 }}, // Last Berlin block
66
+ {12965000 , ID {Hash : checksumToBytes (0xb715077d ), Next : 0 }}, // First London block
67
+ {20000000 , ID {Hash : checksumToBytes (0xb715077d ), Next : 0 }}, // Future London block
66
68
},
67
69
},
68
70
// Ropsten test cases
@@ -203,11 +205,11 @@ func TestValidation(t *testing.T) {
203
205
// Local is mainnet Petersburg, remote is Rinkeby Petersburg.
204
206
{7987396 , ID {Hash : checksumToBytes (0xafec6b27 ), Next : 0 }, ErrLocalIncompatibleOrStale },
205
207
206
- // Local is mainnet Berlin , far in the future. Remote announces Gopherium (non existing fork)
208
+ // Local is mainnet London , far in the future. Remote announces Gopherium (non existing fork)
207
209
// at some future block 88888888, for itself, but past block for local. Local is incompatible.
208
210
//
209
211
// This case detects non-upgraded nodes with majority hash power (typical Ropsten mess).
210
- {88888888 , ID {Hash : checksumToBytes (0x0eb440f6 ), Next : 88888888 }, ErrLocalIncompatibleOrStale },
212
+ {88888888 , ID {Hash : checksumToBytes (0xb715077d ), Next : 88888888 }, ErrLocalIncompatibleOrStale },
211
213
212
214
// Local is mainnet Byzantium. Remote is also in Byzantium, but announces Gopherium (non existing
213
215
// fork) at block 7279999, before Petersburg. Local is incompatible.
0 commit comments