Restore the homestead flag which was incorrectly removed previously when byzantium was enabled.
Impact of having it disabled is that a number of homestead features are not enabled; for example, if child contract creation runs out of gas then contract address is returned instead of error “contract creation code storage out of gas”.
This commit is contained in:
parent
ffc2a6f88f
commit
881ddc942c
|
@ -45,6 +45,7 @@ func New(options ...Option) *core.Genesis {
|
|||
Alloc: make(core.GenesisAlloc),
|
||||
Config: ¶ms.ChainConfig{
|
||||
ChainId: big.NewInt(10),
|
||||
HomesteadBlock: big.NewInt(1),
|
||||
ByzantiumBlock: big.NewInt(1),
|
||||
EIP150Block: big.NewInt(1),
|
||||
EIP155Block: big.NewInt(1),
|
||||
|
|
Loading…
Reference in New Issue