Skip to content

Commit

Permalink
Updated the genesis difficulty and set the nonce
Browse files Browse the repository at this point in the history
  • Loading branch information
gameofpointers committed Feb 4, 2025
1 parent 832c3ab commit 9ded899
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions core/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ func (g *Genesis) ToBlock(startingExpansionNumber uint64) *types.WorkObject {
wo.SetNumber(big.NewInt(0), i)
wo.SetParentHash(common.Hash{}, i)
}

wo.WorkObjectHeader().SetHeaderHash(wo.Header().Hash())

return wo
Expand Down Expand Up @@ -328,7 +328,7 @@ func DefaultColosseumGenesisBlock(consensusEngine string, nonce uint64, extra []
Nonce: nonce,
ExtraData: extra,
GasLimit: 12000000,
Difficulty: big.NewInt(30000000000),
Difficulty: big.NewInt(1500000000000),
}
if consensusEngine == "blake3" {
genesis.Config = params.Blake3PowColosseumChainConfig
Expand Down
2 changes: 1 addition & 1 deletion params/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
// Genesis hashes to enforce below configs on.
var (
// Progpow GenesisHashes
ProgpowColosseumGenesisHash = common.HexToHash("0xb87a8c2da17fd9b035c48d6fe324b7eaa98b42aa287eb0dfb3e2e4ef2b7eda37")
ProgpowColosseumGenesisHash = common.HexToHash("0xac81c28f1a72591b87b5f16c9793cdc0e87c45c6d426d1a364c3b8f6386b5b8b")
ProgpowGardenGenesisHash = common.HexToHash("0xe6d0f9327aae915db55ab0cf9da7841c64e4ae39baa251c17586d8d25b59afbc")
ProgpowOrchardGenesisHash = common.HexToHash("0x12c80fbe68b732139343da9d7a97d06862b29a962b8749f2b977b83364612c96")
ProgpowLighthouseGenesisHash = common.HexToHash("0xf86f23baa7818c62b0d4bd5f2100230eab65392e0b115b91f446b299fddf38d8")
Expand Down

0 comments on commit 9ded899

Please sign in to comment.