From 8ef6ae43f2358c9be2a285e472466a9841c43fe3 Mon Sep 17 00:00:00 2001 From: alok Date: Thu, 18 Jan 2024 16:30:42 +0530 Subject: [PATCH] fix: default addresses --- cmd/main.go | 9 +++------ mev-commit-cli.sh | 2 +- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/cmd/main.go b/cmd/main.go index 5fe64277..e002171d 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -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" @@ -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{ @@ -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{ diff --git a/mev-commit-cli.sh b/mev-commit-cli.sh index 99d5938b..66077f20 100755 --- a/mev-commit-cli.sh +++ b/mev-commit-cli.sh @@ -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"