Skip to content

Commit

Permalink
use mainnet by default
Browse files Browse the repository at this point in the history
  • Loading branch information
metachris committed Oct 21, 2022
1 parent 1a11894 commit 8d2e962
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ var (
relayTimeoutMsRegVal = flag.Int("request-timeout-regval", defaultTimeoutMsRegisterValidator, "timeout for registerValidator requests [ms]")

// helpers
useGenesisForkVersionMainnet = flag.Bool("mainnet", false, "use Mainnet")
useGenesisForkVersionMainnet = flag.Bool("mainnet", true, "use Mainnet")
useGenesisForkVersionSepolia = flag.Bool("sepolia", false, "use Sepolia")
useGenesisForkVersionGoerli = flag.Bool("goerli", false, "use Goerli")
useCustomGenesisForkVersion = flag.String("genesis-fork-version", defaultGenesisForkVersion, "use a custom genesis fork version")
Expand Down Expand Up @@ -118,12 +118,12 @@ func Main() {
genesisForkVersionHex := ""
if *useCustomGenesisForkVersion != "" {
genesisForkVersionHex = *useCustomGenesisForkVersion
} else if *useGenesisForkVersionMainnet {
genesisForkVersionHex = genesisForkVersionMainnet
} else if *useGenesisForkVersionSepolia {
genesisForkVersionHex = genesisForkVersionSepolia
} else if *useGenesisForkVersionGoerli {
genesisForkVersionHex = genesisForkVersionGoerli
} else if *useGenesisForkVersionMainnet {
genesisForkVersionHex = genesisForkVersionMainnet
} else {
flag.Usage()
log.Fatal("please specify a genesis fork version (eg. -mainnet / -sepolia / -goerli / -genesis-fork-version flags)")
Expand Down

0 comments on commit 8d2e962

Please sign in to comment.