From 6c003aa1e53cad45af789102f57d5e60c38280f4 Mon Sep 17 00:00:00 2001 From: corduroy <130501039+corduroybera@users.noreply.github.com> Date: Wed, 31 Jan 2024 13:21:20 -0500 Subject: [PATCH] chore: removing duplicate namespace entries (#1440) --- .gitignore | 3 +++ eth/node/node.go | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index dcff134f0..0304c0f03 100644 --- a/.gitignore +++ b/.gitignore @@ -216,6 +216,7 @@ node_modules .next next-env.d.ts .env +.envrc out # docker test @@ -226,3 +227,5 @@ out # integration testing coverage coverage-test-unit-cover.txt + +.direnv/ diff --git a/eth/node/node.go b/eth/node/node.go index edcff8d81..bd51a8168 100644 --- a/eth/node/node.go +++ b/eth/node/node.go @@ -67,7 +67,7 @@ func DefaultGethNodeConfig() *node.Config { nodeCfg.P2P.NoDiscovery = true nodeCfg.P2P.MaxPeers = 0 nodeCfg.Name = clientIdentifier - nodeCfg.HTTPModules = append(nodeCfg.HTTPModules, "eth", "web3", "net", "txpool", "debug") + nodeCfg.HTTPModules = append(nodeCfg.HTTPModules, "eth", "txpool") nodeCfg.WSModules = append(nodeCfg.WSModules, "eth") nodeCfg.HTTPHost = "0.0.0.0" nodeCfg.WSHost = "0.0.0.0"