Skip to content

Commit

Permalink
chore(chain): add comment
Browse files Browse the repository at this point in the history
Signed-off-by: jsvisa <delweng@gmail.com>
  • Loading branch information
jsvisa committed Apr 5, 2024
1 parent ae1c3e2 commit ed62fa9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions erigon-lib/chain/chain_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ import (
// that any network, identified by its genesis block, can have its own
// set of configuration options.
type Config struct {
ChainName string `json:"chainName"`
ChainID *big.Int `json:"chainId"` // chainId identifies the current chain and is used for replay protection
ChainName string `json:"chainName"` // chain name, eg: mainnet, sepolia, bor-mainnet
ChainID *big.Int `json:"chainId"` // chainId identifies the current chain and is used for replay protection

Consensus ConsensusName `json:"consensus,omitempty"` // aura, ethash or clique

Expand Down

0 comments on commit ed62fa9

Please sign in to comment.