Skip to content

Commit

Permalink
Schedule Dencun for Gnosis (#9433)
Browse files Browse the repository at this point in the history
  • Loading branch information
somnathb1 authored and yperbasis committed Feb 13, 2024
1 parent 8d9967b commit 1ff5511
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cl/clparams/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,8 @@ func gnosisConfig() BeaconChainConfig {
cfg.BaseRewardFactor = 25
cfg.SlotsPerEpoch = 16
cfg.EpochsPerSyncCommitteePeriod = 512
cfg.DenebForkEpoch = math.MaxUint64
cfg.DenebForkEpoch = 889856
cfg.DenebForkVersion = 0x04000064
cfg.InactivityScoreRecoveryRate = 16
cfg.InactivityScoreBias = 4
cfg.MaxWithdrawalsPerPayload = 8
Expand Down
5 changes: 4 additions & 1 deletion core/forkid/forkid_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,10 @@ func TestCreation(t *testing.T) {
{19040000, 1636753580, ID{Hash: checksumToBytes(0x018479d3), Next: 1690889660}}, // First London block
{21735000, 1650443255, ID{Hash: checksumToBytes(0x018479d3), Next: 1690889660}}, // First GIP-31 block
{29242931, 1690889650, ID{Hash: checksumToBytes(0x018479d3), Next: 1690889660}}, // Last pre-Shanghai block
{29242932, 1690889660, ID{Hash: checksumToBytes(0x2efe91ba), Next: 0}}, // First Shanghai block
{29242932, 1690889660, ID{Hash: checksumToBytes(0x2efe91ba), Next: 1710181820}}, // First Shanghai block
{33101363, 1710181815, ID{Hash: checksumToBytes(0x2efe91ba), Next: 1710181820}}, // Last Shanghai block (approx.)
{33101364, 1710181820, ID{Hash: checksumToBytes(0x1384dfc1), Next: 0}}, // First Cancun block (approx)
{40000000, 1800000000, ID{Hash: checksumToBytes(0x1384dfc1), Next: 0}}, // Future Cancun block (mock)
},
},
// Chiado test cases
Expand Down
1 change: 1 addition & 0 deletions params/chainspecs/gnosis.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"terminalTotalDifficulty": 8626000000000000000000058750000000000000000000,
"terminalTotalDifficultyPassed": true,
"shanghaiTime": 1690889660,
"cancunTime": 1710181820,
"minBlobGasPrice": 1000000000,
"maxBlobGasPerBlock": 262144,
"targetBlobGasPerBlock": 131072,
Expand Down

0 comments on commit 1ff5511

Please sign in to comment.