diff --git a/core/genesis.go b/core/genesis.go index 22f0fc4fec..65630d4ccf 100644 --- a/core/genesis.go +++ b/core/genesis.go @@ -468,7 +468,7 @@ func DefaultDevnetGenesisBlock() *Genesis { // DeveloperGenesisBlock returns the 'geth --dev' genesis block. func DeveloperGenesisBlock(period uint64, faucet common.Address) *Genesis { // Override the default period to the user requested one - config := *params.AllXDPoSProtocolChanges + config := *params.AllDevChainProtocolChanges config.XDPoS.Period = period // Assemble and return the genesis with the precompiles and faucet pre-funded diff --git a/ethclient/ethclient_test.go b/ethclient/ethclient_test.go index 948848ae72..ba4f8fa0f3 100644 --- a/ethclient/ethclient_test.go +++ b/ethclient/ethclient_test.go @@ -71,7 +71,7 @@ var ( ) var testChainConfig = func() *params.ChainConfig { - config := *params.AllXDPoSProtocolChanges + config := *params.AllDevChainProtocolChanges if config.XDPoS != nil { xdpos := *config.XDPoS if xdpos.Period == 0 { diff --git a/params/config.go b/params/config.go index dd2b6405c9..93ddd0f123 100644 --- a/params/config.go +++ b/params/config.go @@ -341,12 +341,12 @@ var ( XDPoS: nil, } - // AllXDPoSProtocolChanges contains every protocol change (EIPs) introduced + // AllDevChainProtocolChanges contains every protocol change (EIPs) introduced // and accepted by the Ethereum core developers into the XDPoS consensus. // // This configuration is intentionally not using keyed fields to force anyone // adding flags to the config to also have to set these fields. - AllXDPoSProtocolChanges = &ChainConfig{ + AllDevChainProtocolChanges = &ChainConfig{ ChainID: big.NewInt(1337), HomesteadBlock: big.NewInt(0), DAOForkBlock: nil,