diff options
author | Enrique Fynn <me@enriquefynn.com> | 2018-11-22 21:03:50 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-11-22 21:03:50 +0800 |
commit | 9d5e3e06370dace249305d91624cb83cabf3c25f (patch) | |
tree | 8445d1a1832159e4d1dfaea4bc81ba1d8c6c0c7f /params/config.go | |
parent | 3ba0418a9a433da4c8360116866873d8793b03da (diff) | |
download | go-tangerine-9d5e3e06370dace249305d91624cb83cabf3c25f.tar go-tangerine-9d5e3e06370dace249305d91624cb83cabf3c25f.tar.gz go-tangerine-9d5e3e06370dace249305d91624cb83cabf3c25f.tar.bz2 go-tangerine-9d5e3e06370dace249305d91624cb83cabf3c25f.tar.lz go-tangerine-9d5e3e06370dace249305d91624cb83cabf3c25f.tar.xz go-tangerine-9d5e3e06370dace249305d91624cb83cabf3c25f.tar.zst go-tangerine-9d5e3e06370dace249305d91624cb83cabf3c25f.zip |
params: add Constantinople block to AllXYZProtocolChanges (#18162)
* params: Add Constantinople block to AllCliqueProtocolChanges
* params: Add Constantinople block to AllEthashProtocolChanges
Diffstat (limited to 'params/config.go')
-rw-r--r-- | params/config.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/params/config.go b/params/config.go index 007e4a66d..7f04e0e67 100644 --- a/params/config.go +++ b/params/config.go @@ -111,14 +111,14 @@ var ( // // This configuration is intentionally not using keyed fields to force anyone // adding flags to the config to also have to set these fields. - AllEthashProtocolChanges = &ChainConfig{big.NewInt(1337), big.NewInt(0), nil, false, big.NewInt(0), common.Hash{}, big.NewInt(0), big.NewInt(0), big.NewInt(0), nil, nil, new(EthashConfig), nil} + AllEthashProtocolChanges = &ChainConfig{big.NewInt(1337), big.NewInt(0), nil, false, big.NewInt(0), common.Hash{}, big.NewInt(0), big.NewInt(0), big.NewInt(0), big.NewInt(0), nil, new(EthashConfig), nil} // AllCliqueProtocolChanges contains every protocol change (EIPs) introduced // and accepted by the Ethereum core developers into the Clique consensus. // // This configuration is intentionally not using keyed fields to force anyone // adding flags to the config to also have to set these fields. - AllCliqueProtocolChanges = &ChainConfig{big.NewInt(1337), big.NewInt(0), nil, false, big.NewInt(0), common.Hash{}, big.NewInt(0), big.NewInt(0), big.NewInt(0), nil, nil, nil, &CliqueConfig{Period: 0, Epoch: 30000}} + AllCliqueProtocolChanges = &ChainConfig{big.NewInt(1337), big.NewInt(0), nil, false, big.NewInt(0), common.Hash{}, big.NewInt(0), big.NewInt(0), big.NewInt(0), big.NewInt(0), nil, nil, &CliqueConfig{Period: 0, Epoch: 30000}} TestChainConfig = &ChainConfig{big.NewInt(1), big.NewInt(0), nil, false, big.NewInt(0), common.Hash{}, big.NewInt(0), big.NewInt(0), big.NewInt(0), nil, nil, new(EthashConfig), nil} TestRules = TestChainConfig.Rules(new(big.Int)) |