Fix fork ID test for Chiado (#7576)

Fix a test after PR #7575
This commit is contained in:
Andrew Ashikhmin 2023-05-25 07:59:33 +02:00 committed by GitHub
parent 111db5f655
commit a47e49ced6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -159,9 +159,9 @@ func TestCreation(t *testing.T) {
params.ChiadoChainConfig,
params.ChiadoGenesisHash,
[]testcase{
{0, 0, ID{Hash: checksumToBytes(0x50d39d7b), Next: 1684930320}},
{4101957, 1684930315, ID{Hash: checksumToBytes(0x50d39d7b), Next: 1684930320}}, // Last pre-Shanghai block (approx)
{4101958, 1684930320, ID{Hash: checksumToBytes(0xcc663128), Next: 0}}, // First Shanghai block (approx)
{0, 0, ID{Hash: checksumToBytes(0x50d39d7b), Next: 1684934220}},
{4101957, 1684934215, ID{Hash: checksumToBytes(0x50d39d7b), Next: 1684934220}}, // Last pre-Shanghai block (approx)
{4101958, 1684934220, ID{Hash: checksumToBytes(0xa15a4252), Next: 0}}, // First Shanghai block (approx)
},
},
}