diff --git a/cmd/clef/main.go b/cmd/clef/main.go index 05290f52f..e3ab9a4d4 100644 --- a/cmd/clef/main.go +++ b/cmd/clef/main.go @@ -98,7 +98,7 @@ var ( chainIdFlag = &cli.Int64Flag{ Name: "chainid", Value: params.MainnetChainConfig.ChainID.Int64(), - Usage: "Chain id to use for signing (1=mainnet, 3=Ropsten, 4=Rinkeby, 5=Goerli)", + Usage: "Chain id to use for signing (2151=mainnet, 2019=Testnet)", } rpcPortFlag = &cli.IntFlag{ Name: "http.port", diff --git a/params/config.go b/params/config.go index 430fb53e8..f4915c5b4 100644 --- a/params/config.go +++ b/params/config.go @@ -423,7 +423,13 @@ func (c *ChainConfig) String() string { // Create some basinc network config output network := NetworkNames[c.ChainID.String()] if network == "" { - network = "unknown" + if c.ChainID.String() == "2151" { + network = "AGORA MAINNET" + } else if c.ChainID.String() == "2019" { + network = "AGORA TESTNET" + } else { + network = "unknown" + } } banner += fmt.Sprintf("Chain ID: %v (%s)\n", c.ChainID, network) switch {