aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEnrique Fynn <me@enriquefynn.com>2018-11-22 21:03:50 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-11-22 21:03:50 +0800
commit9d5e3e06370dace249305d91624cb83cabf3c25f (patch)
tree8445d1a1832159e4d1dfaea4bc81ba1d8c6c0c7f
parent3ba0418a9a433da4c8360116866873d8793b03da (diff)
downloaddexon-9d5e3e06370dace249305d91624cb83cabf3c25f.tar
dexon-9d5e3e06370dace249305d91624cb83cabf3c25f.tar.gz
dexon-9d5e3e06370dace249305d91624cb83cabf3c25f.tar.bz2
dexon-9d5e3e06370dace249305d91624cb83cabf3c25f.tar.lz
dexon-9d5e3e06370dace249305d91624cb83cabf3c25f.tar.xz
dexon-9d5e3e06370dace249305d91624cb83cabf3c25f.tar.zst
dexon-9d5e3e06370dace249305d91624cb83cabf3c25f.zip
params: add Constantinople block to AllXYZProtocolChanges (#18162)
* params: Add Constantinople block to AllCliqueProtocolChanges * params: Add Constantinople block to AllEthashProtocolChanges
-rw-r--r--params/config.go4
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))