From cd1e98d44b320062058c5186a7954672b132ad95 Mon Sep 17 00:00:00 2001 From: Igor Mandrigin Date: Wed, 13 Oct 2021 04:28:07 +0300 Subject: [PATCH] update Fermion devnet id to 1212120 to avoid clashes with https://chainlist.org (#2817) --- cmd/utils/flags.go | 2 +- params/config.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index 0efddc08bac..97e97024f69 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -1293,7 +1293,7 @@ func SetEthConfig(ctx *cli.Context, nodeConfig *node.Config, cfg *ethconfig.Conf cfg.Genesis = core.DefaultKovanGenesisBlock() case params.FermionChainName: if !ctx.GlobalIsSet(NetworkIdFlag.Name) { - cfg.NetworkID = 102 + cfg.NetworkID = 1212120 } cfg.Genesis = core.DefaultFermionGenesisBlock() case params.DevChainName: diff --git a/params/config.go b/params/config.go index bf7e0f3910c..5f250bf6bec 100644 --- a/params/config.go +++ b/params/config.go @@ -253,7 +253,7 @@ var ( FermionChainConfig = &ChainConfig{ ChainName: FermionChainName, - ChainID: big.NewInt(102), + ChainID: big.NewInt(1212120), HomesteadBlock: big.NewInt(0), DAOForkBlock: big.NewInt(0), DAOForkSupport: true,