Skip to content

Commit 9d5e3e0

Browse files
enriquefynnkaralabe
authored andcommitted
params: add Constantinople block to AllXYZProtocolChanges (#18162)
* params: Add Constantinople block to AllCliqueProtocolChanges * params: Add Constantinople block to AllEthashProtocolChanges
1 parent 3ba0418 commit 9d5e3e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

params/config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,14 +111,14 @@ var (
111111
//
112112
// This configuration is intentionally not using keyed fields to force anyone
113113
// adding flags to the config to also have to set these fields.
114-
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}
114+
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}
115115

116116
// AllCliqueProtocolChanges contains every protocol change (EIPs) introduced
117117
// and accepted by the Ethereum core developers into the Clique consensus.
118118
//
119119
// This configuration is intentionally not using keyed fields to force anyone
120120
// adding flags to the config to also have to set these fields.
121-
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}}
121+
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}}
122122

123123
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}
124124
TestRules = TestChainConfig.Rules(new(big.Int))

0 commit comments

Comments
 (0)