Skip to content

Commit 4df31fb

Browse files
committed
refactor(params): rename AllXDPoSProtocolChanges to AllDevChainProtocolChanges
1 parent cc21093 commit 4df31fb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

core/genesis.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ func DefaultDevnetGenesisBlock() *Genesis {
468468
// DeveloperGenesisBlock returns the 'geth --dev' genesis block.
469469
func DeveloperGenesisBlock(period uint64, faucet common.Address) *Genesis {
470470
// Override the default period to the user requested one
471-
config := *params.AllXDPoSProtocolChanges
471+
config := *params.AllDevChainProtocolChanges
472472
config.XDPoS.Period = period
473473

474474
// Assemble and return the genesis with the precompiles and faucet pre-funded

params/config.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -340,13 +340,13 @@ var (
340340
XDPoS: nil,
341341
}
342342

343-
// AllXDPoSProtocolChanges contains every protocol change (EIPs) introduced
343+
// AllDevChainProtocolChanges contains every protocol change (EIPs) introduced
344344
// and accepted by the Ethereum core developers into the XDPoS consensus.
345345
//
346346
// This configuration is intentionally not using keyed fields to force anyone
347347
// adding flags to the config to also have to set these fields.
348-
AllXDPoSProtocolChanges = &ChainConfig{
349-
ChainID: big.NewInt(89),
348+
AllDevChainProtocolChanges = &ChainConfig{
349+
ChainID: big.NewInt(1337),
350350
HomesteadBlock: big.NewInt(0),
351351
DAOForkBlock: nil,
352352
DAOForkSupport: false,

0 commit comments

Comments
 (0)