Skip to content

Commit

Permalink
fix: 1.modify the chainid 2. modify the version
Browse files Browse the repository at this point in the history
  • Loading branch information
wormholeslab committed Dec 6, 2022
1 parent fc85d16 commit 80aa33d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/utils/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -1693,7 +1693,7 @@ func SetEthConfig(ctx *cli.Context, stack *node.Node, cfg *ethconfig.Config) {
SetDNSDiscoveryDefaults(cfg, params.TestNetGenesisHash)
case ctx.GlobalBool(DevNetFlag.Name):
if !ctx.GlobalIsSet(NetworkIdFlag.Name) {
cfg.NetworkId = 51891
cfg.NetworkId = 51892
}
cfg.Genesis = core.DefaultDevNetGenesisBlock()
SetDNSDiscoveryDefaults(cfg, params.DevNetGenesisHash)
Expand Down
2 changes: 1 addition & 1 deletion params/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ var (

// DevnetChainConfig is the chain parameters to run a node on the wormholes developer network.
DevnetChainConfig = &ChainConfig{
ChainID: big.NewInt(51891),
ChainID: big.NewInt(51892),
HomesteadBlock: big.NewInt(0),
//DAOForkBlock: big.NewInt(1_920_000),
//DAOForkSupport: true,
Expand Down
2 changes: 1 addition & 1 deletion params/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
const (
VersionMajor = 0 // Major version component of the current release
VersionMinor = 10 // Minor version component of the current release
VersionPatch = 0 // Patch version component of the current release
VersionPatch = 1 // Patch version component of the current release
VersionMeta = "stable" // Version metadata to append to the version string
)

Expand Down

0 comments on commit 80aa33d

Please sign in to comment.