Skip to content

Commit

Permalink
Updated the min gas limit to 15M and colosseum gas to 15M
Browse files Browse the repository at this point in the history
  • Loading branch information
gameofpointers committed May 9, 2023
1 parent 9a657c5 commit 0b97342
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ func DefaultColosseumGenesisBlock() *Genesis {
Config: params.ColosseumChainConfig,
Nonce: 66,
ExtraData: hexutil.MustDecode("0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa"),
GasLimit: 160000000,
GasLimit: 15000000,
Difficulty: big.NewInt(2048576),
}
}
Expand Down
2 changes: 1 addition & 1 deletion params/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (

// Genesis hashes to enforce below configs on.
var (
ColosseumGenesisHash = common.HexToHash("0x931cc5ec35923c256ca13ba77830a0f6d74a9e1b8b97a03126acb99d45dd06f7")
ColosseumGenesisHash = common.HexToHash("0x98e42a430780db6a01cf98ce6a199f45716b105df8bb9c003a0f09f5254b5768")
GardenGenesisHash = common.HexToHash("0x2b57b896bb0522a0b5e15fc68e0302eb3c514e47b06ab2a4de16c4bffd2ceeed")
OrchardGenesisHash = common.HexToHash("0x61e271714cd23808de7d1fa38d7965735ec8aafddbf3c00f985efede02022b6a")
LocalGenesisHash = common.HexToHash("0x4c35b1216decc6aa2431fa2d2a1c68f15d70f83a309041ed1bfef5ad6592a3d4")
Expand Down
2 changes: 1 addition & 1 deletion params/protocol_params.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import "math/big"

const (
GasLimitBoundDivisor uint64 = 1024 // The bound divisor of the gas limit, used in update calculations.
MinGasLimit uint64 = 80000000 // Minimum the gas limit may ever be.
MinGasLimit uint64 = 15000000 // Minimum the gas limit may ever be.
GenesisGasLimit uint64 = 471238800 // Gas limit of the Genesis block.

MaximumExtraDataSize uint64 = 32 // Maximum size extra data may be after Genesis.
Expand Down

0 comments on commit 0b97342

Please sign in to comment.