File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -468,7 +468,7 @@ func DefaultDevnetGenesisBlock() *Genesis {
468468// DeveloperGenesisBlock returns the 'geth --dev' genesis block.
469469func 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
Original file line number Diff line number Diff 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 ,
You can’t perform that action at this time.
0 commit comments