Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
fix: default addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
alok committed Jan 18, 2024
1 parent 67d4a70 commit 8ef6ae4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
9 changes: 3 additions & 6 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@ const (
defaultP2PAddr = "0.0.0.0"

defaultHTTPPort = 13523
defaultHTTPAddr = "localhost"

defaultRPCPort = 13524
defaultRPCAddr = "localhost"
defaultRPCPort = 13524

defaultConfigDir = "~/.mev-commit"
defaultKeyFile = "key"
Expand Down Expand Up @@ -102,7 +99,7 @@ var (
Name: "http-addr",
Usage: "address to bind for http connections",
EnvVars: []string{"MEV_COMMIT_HTTP_ADDR"},
Value: defaultHTTPAddr,
Value: "",
})

optionRPCPort = altsrc.NewIntFlag(&cli.IntFlag{
Expand All @@ -117,7 +114,7 @@ var (
Name: "rpc-addr",
Usage: "address to bind for RPC connections",
EnvVars: []string{"MEV_COMMIT_RPC_ADDR"},
Value: defaultRPCAddr,
Value: "",
})

optionBootnodes = altsrc.NewStringSliceFlag(&cli.StringSliceFlag{
Expand Down
2 changes: 1 addition & 1 deletion mev-commit-cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ORACLE_PATH="$PRIMEV_DIR/$ORACLE_REPO_NAME"
BRIDGE_PATH="$PRIMEV_DIR/$BRIDGE_REPO_NAME"

DOCKER_NETWORK_NAME="primev_net"
MEV_COMMIT_BRANCH="update-contracts"
MEV_COMMIT_BRANCH="main"
GETH_POA_BRANCH="master"
CONTRACTS_BRANCH="main"
ORACLE_BRANCH="main"
Expand Down

0 comments on commit 8ef6ae4

Please sign in to comment.