Skip to content

Commit

Permalink
use mainnet by default (#381)
Browse files Browse the repository at this point in the history
  • Loading branch information
metachris authored Nov 3, 2022
1 parent e07e7f9 commit f146349
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 @@ -119,12 +119,12 @@ func Main() {
switch {
case *useCustomGenesisForkVersion != "":
genesisForkVersionHex = *useCustomGenesisForkVersion
case *useGenesisForkVersionMainnet:
genesisForkVersionHex = genesisForkVersionMainnet
case *useGenesisForkVersionSepolia:
genesisForkVersionHex = genesisForkVersionSepolia
case *useGenesisForkVersionGoerli:
genesisForkVersionHex = genesisForkVersionGoerli
case *useGenesisForkVersionMainnet:
genesisForkVersionHex = genesisForkVersionMainnet
default:
flag.Usage()
log.Fatal("please specify a genesis fork version (eg. -mainnet / -sepolia / -goerli / -genesis-fork-version flags)")
Expand Down

0 comments on commit f146349

Please sign in to comment.