Skip to content

Commit

Permalink
Schedule Dencun on mainnet (#9409)
Browse files Browse the repository at this point in the history
  • Loading branch information
yperbasis authored Feb 8, 2024
1 parent 114baa0 commit a19ae55
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cl/clparams/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ var MainnetBeaconConfig BeaconChainConfig = BeaconChainConfig{
CapellaForkVersion: 0x03000000,
CapellaForkEpoch: 194048,
DenebForkVersion: 0x04000000,
DenebForkEpoch: math.MaxUint64,
DenebForkEpoch: 269568,

// New values introduced in Altair hard fork 1.
// Participation flag indices.
Expand Down
6 changes: 4 additions & 2 deletions core/forkid/forkid_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,10 @@ func TestCreation(t *testing.T) {
{15049999, 1656586434, ID{Hash: checksumToBytes(0x20c327fc), Next: 15050000}}, // Last Arrow Glacier block
{15050000, 1656586444, ID{Hash: checksumToBytes(0xf0afd0e3), Next: 1681338455}}, // First Gray Glacier block
{17034869, 1681338443, ID{Hash: checksumToBytes(0xf0afd0e3), Next: 1681338455}}, // Last pre-Shanghai block
{17034870, 1681338479, ID{Hash: checksumToBytes(0xdce96c2d), Next: 0}}, // First Shanghai block
{19000000, 1700000000, ID{Hash: checksumToBytes(0xdce96c2d), Next: 0}}, // Future Shanghai block (mock)
{17034870, 1681338479, ID{Hash: checksumToBytes(0xdce96c2d), Next: 1710338135}}, // First Shanghai block
{19428734, 1710338123, ID{Hash: checksumToBytes(0xdce96c2d), Next: 1710338135}}, // Last Shanghai block (approx)
{19428735, 1710338135, ID{Hash: checksumToBytes(0x9f3d2254), Next: 0}}, // First Cancun block (approx)
{20000000, 1800000000, ID{Hash: checksumToBytes(0x9f3d2254), Next: 0}}, // Future Cancun block (mock)
},
},
// Goerli test cases
Expand Down
1 change: 1 addition & 0 deletions params/chainspecs/mainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@
"terminalTotalDifficulty": 58750000000000000000000,
"terminalTotalDifficultyPassed": true,
"shanghaiTime": 1681338455,
"cancunTime": 1710338135,
"ethash": {}
}

0 comments on commit a19ae55

Please sign in to comment.