agra hf mainnet (#8684)

Add Agra HF details for bor mainnet.
This commit is contained in:
Arpit Temani 2023-11-09 19:03:45 +05:30 committed by GitHub
parent ff88a9393e
commit 4297a31155
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 2 deletions

View File

@ -153,6 +153,18 @@ func TestCreation(t *testing.T) {
{41874000, 0, ID{Hash: checksumToBytes(0x0c015a91), Next: 0}}, // First Agra block
},
},
// Bor mainnet test cases
{
params.BorMainnetChainConfig,
params.BorMainnetGenesisHash,
[]testcase{
{0, 0, ID{Hash: checksumToBytes(0x0e07e722), Next: 3395000}},
{3395000, 0, ID{Hash: checksumToBytes(0x27806576), Next: 14750000}}, // First Istanbul block
{14750000, 0, ID{Hash: checksumToBytes(0x66e26adb), Next: 23850000}}, // First Berlin block
{23850000, 0, ID{Hash: checksumToBytes(0x4f2f71cc), Next: 50523000}}, // First London block
{50523000, 0, ID{Hash: checksumToBytes(0xdc08865c), Next: 0}}, // First Agra block
},
},
}
for i, tt := range tests {
for j, ttt := range tt.cases {

File diff suppressed because one or more lines are too long