Andrew Ashikhmin 2023-05-16 23:50:09 +02:00 committed by GitHub
parent 53b116ccff
commit ea9712f858
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 5 deletions

View File

@ -836,6 +836,8 @@ func chiadoConfig() BeaconChainConfig {
cfg.AltairForkVersion = 0x0100006f
cfg.BellatrixForkEpoch = 180
cfg.BellatrixForkVersion = 0x0200006f
cfg.CapellaForkEpoch = 244224
cfg.CapellaForkVersion = 0x0300006f
cfg.TerminalTotalDifficulty = "231707791542740786049188744689299064356246512"
cfg.DepositContractAddress = "0xb97036A26259B7147018913bD58a774cf91acf25"
cfg.BaseRewardFactor = 25

View File

@ -74,8 +74,8 @@ func TestCreation(t *testing.T) {
{13773000, 1639079723, ID{Hash: checksumToBytes(0x20c327fc), Next: 15050000}}, // First Arrow Glacier block
{15049999, 1656586434, ID{Hash: checksumToBytes(0x20c327fc), Next: 15050000}}, // Last Arrow Glacier block
{15050000, 1656586444, ID{Hash: checksumToBytes(0xf0afd0e3), Next: 1681338455}}, // First Gray Glacier block
{17037484, 1681338443, ID{Hash: checksumToBytes(0xf0afd0e3), Next: 1681338455}}, // Last pre-Shanghai block (approx)
{17037485, 1681338455, ID{Hash: checksumToBytes(0xdce96c2d), Next: 0}}, // First Shanghai block (approx)
{17034869, 1681338443, ID{Hash: checksumToBytes(0xf0afd0e3), Next: 1681338455}}, // Last pre-Shanghai block
{17034870, 1681338455, ID{Hash: checksumToBytes(0xdce96c2d), Next: 0}}, // First Shanghai block
{19000000, 1700000000, ID{Hash: checksumToBytes(0xdce96c2d), Next: 0}}, // Future Shanghai block (mock)
},
},
@ -159,7 +159,9 @@ func TestCreation(t *testing.T) {
params.ChiadoChainConfig,
params.ChiadoGenesisHash,
[]testcase{
{0, 0, ID{Hash: checksumToBytes(0x50d39d7b), Next: 0}}, // Unsynced, last Frontier, Homestead, Tangerine, Spurious, Byzantium, Constantinople, Petersburg, Istanbul, Berlin and first London block
{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)
},
},
}

View File

@ -15,6 +15,7 @@
"eip1559FeeCollector": "0x1559000000000000000000000000000000000000",
"terminalTotalDifficulty": 231707791542740786049188744689299064356246512,
"terminalTotalDifficultyPassed": true,
"shanghaiTime": 1684930320,
"aura": {
"stepDuration": 5,
"blockReward": 0,
@ -23,7 +24,9 @@
"validators": {
"multi": {
"0": {
"list": ["0x14747a698Ec1227e6753026C08B29b4d5D3bC484"]
"list": [
"0x14747a698Ec1227e6753026C08B29b4d5D3bC484"
]
},
"67334": {
"list": [
@ -47,6 +50,7 @@
"blockGasLimitContractTransitions": {
"0": "0x4000000000000000000000000000000000000001"
},
"registrar": "0x6000000000000000000000000000000000000000"
"registrar": "0x6000000000000000000000000000000000000000",
"withdrawalContractAddress": "0xb97036A26259B7147018913bD58a774cf91acf25"
}
}