|
|
|
@ -84,8 +84,10 @@ func TestCreation(t *testing.T) { |
|
|
|
|
{7117116, ID{Hash: checksumToBytes(0x4bc66396), Next: 7117117}}, // Last Istanbul block
|
|
|
|
|
{7117117, ID{Hash: checksumToBytes(0x6727ef90), Next: 9812189}}, // First Muir Glacier block
|
|
|
|
|
{9812188, ID{Hash: checksumToBytes(0x6727ef90), Next: 9812189}}, // Last Muir Glacier block
|
|
|
|
|
{9812189, ID{Hash: checksumToBytes(0xa157d377), Next: 0}}, // First Berlin block
|
|
|
|
|
{10000000, ID{Hash: checksumToBytes(0xa157d377), Next: 0}}, // Future Berlin block
|
|
|
|
|
{9812189, ID{Hash: checksumToBytes(0xa157d377), Next: 10499401}}, // First Berlin block
|
|
|
|
|
{10499400, ID{Hash: checksumToBytes(0xa157d377), Next: 10499401}}, // Last Berlin block
|
|
|
|
|
{10499401, ID{Hash: checksumToBytes(0x7119b6b3), Next: 0}}, // First London block
|
|
|
|
|
{11000000, ID{Hash: checksumToBytes(0x7119b6b3), Next: 0}}, // Future London block
|
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
// Rinkeby test cases
|
|
|
|
@ -106,8 +108,10 @@ func TestCreation(t *testing.T) { |
|
|
|
|
{5435344, ID{Hash: checksumToBytes(0xafec6b27), Next: 5435345}}, // Last Petersburg block
|
|
|
|
|
{5435345, ID{Hash: checksumToBytes(0xcbdb8838), Next: 8290928}}, // First Istanbul block
|
|
|
|
|
{8290927, ID{Hash: checksumToBytes(0xcbdb8838), Next: 8290928}}, // Last Istanbul block
|
|
|
|
|
{8290928, ID{Hash: checksumToBytes(0x6910c8bd), Next: 0}}, // First Berlin block
|
|
|
|
|
{10000000, ID{Hash: checksumToBytes(0x6910c8bd), Next: 0}}, // Future Berlin block
|
|
|
|
|
{8290928, ID{Hash: checksumToBytes(0x6910c8bd), Next: 8897988}}, // First Berlin block
|
|
|
|
|
{8897987, ID{Hash: checksumToBytes(0x6910c8bd), Next: 8897988}}, // Last Berlin block
|
|
|
|
|
{8897988, ID{Hash: checksumToBytes(0x8E29F2F3), Next: 0}}, // First London block
|
|
|
|
|
{10000000, ID{Hash: checksumToBytes(0x8E29F2F3), Next: 0}}, // Future London block
|
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
// Goerli test cases
|
|
|
|
@ -119,8 +123,10 @@ func TestCreation(t *testing.T) { |
|
|
|
|
{1561650, ID{Hash: checksumToBytes(0xa3f5ab08), Next: 1561651}}, // Last Petersburg block
|
|
|
|
|
{1561651, ID{Hash: checksumToBytes(0xc25efa5c), Next: 4460644}}, // First Istanbul block
|
|
|
|
|
{4460643, ID{Hash: checksumToBytes(0xc25efa5c), Next: 4460644}}, // Last Istanbul block
|
|
|
|
|
{4460644, ID{Hash: checksumToBytes(0x757a1c47), Next: 0}}, // First Berlin block
|
|
|
|
|
{5000000, ID{Hash: checksumToBytes(0x757a1c47), Next: 0}}, // Future Berlin block
|
|
|
|
|
{4460644, ID{Hash: checksumToBytes(0x757a1c47), Next: 5062605}}, // First Berlin block
|
|
|
|
|
{5000000, ID{Hash: checksumToBytes(0x757a1c47), Next: 5062605}}, // Last Berlin block
|
|
|
|
|
{5062605, ID{Hash: checksumToBytes(0xB8C6299D), Next: 0}}, // First London block
|
|
|
|
|
{6000000, ID{Hash: checksumToBytes(0xB8C6299D), Next: 0}}, // Future London block
|
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
|