From 30f7d2c7d5fd73e082b9886e4fb35f530baeb7bb Mon Sep 17 00:00:00 2001 From: amsanghi Date: Tue, 10 Oct 2023 23:11:11 +0530 Subject: [PATCH] minor fix --- arbnode/node.go | 3 --- cmd/nitro/nitro.go | 1 + execution/gethexec/node.go | 1 + 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/arbnode/node.go b/arbnode/node.go index f4c33f924f..5d06264b65 100644 --- a/arbnode/node.go +++ b/arbnode/node.go @@ -361,9 +361,6 @@ var ConfigDefault = Config{ DelayedSequencer: DefaultDelayedSequencerConfig, BatchPoster: DefaultBatchPosterConfig, MessagePruner: DefaultMessagePrunerConfig, - ForwardingTarget: "", - Forwarder: execution.DefaultNodeForwarderConfig, - TxPreChecker: execution.DefaultTxPreCheckerConfig, BlockValidator: staker.DefaultBlockValidatorConfig, Feed: broadcastclient.FeedConfigDefault, Staker: staker.DefaultL1ValidatorConfig, diff --git a/cmd/nitro/nitro.go b/cmd/nitro/nitro.go index 60295d3660..285cc3fe86 100644 --- a/cmd/nitro/nitro.go +++ b/cmd/nitro/nitro.go @@ -591,6 +591,7 @@ type NodeConfig struct { var NodeConfigDefault = NodeConfig{ Conf: genericconf.ConfConfigDefault, Node: arbnode.ConfigDefault, + Execution: gethexec.ConfigDefault, Validation: valnode.DefaultValidationConfig, ParentChain: conf.L1ConfigDefault, Chain: conf.L2ConfigDefault, diff --git a/execution/gethexec/node.go b/execution/gethexec/node.go index b29309cdbb..1068dda967 100644 --- a/execution/gethexec/node.go +++ b/execution/gethexec/node.go @@ -91,6 +91,7 @@ var ConfigDefault = Config{ TxLookupLimit: 126_230_400, // 1 year at 4 blocks per second Caching: DefaultCachingConfig, Dangerous: DefaultDangerousConfig, + Forwarder: DefaultNodeForwarderConfig, } func ConfigDefaultNonSequencerTest() *Config {