Fixed TransactionSizeLimit, added IsQuorum and changed flags to start at block zero.

This commit is contained in:
SatpalSandhu61 2019-08-02 11:39:30 +01:00
parent 3a46922e01
commit 5d1b42533c
1 changed files with 9 additions and 7 deletions

View File

@ -44,17 +44,19 @@ func New(options ...Option) *core.Genesis {
Difficulty: big.NewInt(InitDifficulty),
Alloc: make(core.GenesisAlloc),
Config: &params.ChainConfig{
ChainID: big.NewInt(10),
HomesteadBlock: big.NewInt(1),
ByzantiumBlock: big.NewInt(1),
ConstantinopleBlock: big.NewInt(1),
EIP150Block: big.NewInt(1),
EIP155Block: big.NewInt(1),
EIP158Block: big.NewInt(1),
ChainID: big.NewInt(10),
HomesteadBlock: big.NewInt(0),
ByzantiumBlock: big.NewInt(0),
ConstantinopleBlock: big.NewInt(0),
EIP150Block: big.NewInt(0),
EIP155Block: big.NewInt(0),
EIP158Block: big.NewInt(0),
TransactionSizeLimit: 64,
Istanbul: &params.IstanbulConfig{
ProposerPolicy: uint64(istanbul.DefaultConfig.ProposerPolicy),
Epoch: istanbul.DefaultConfig.Epoch,
},
IsQuorum: true,
},
Mixhash: types.IstanbulDigest,
}