From 816dd33fcc7c542e6f588fe5454e89b1c6545684 Mon Sep 17 00:00:00 2001 From: Kartik Chopra Date: Fri, 5 Jul 2024 13:13:31 -0400 Subject: [PATCH] feat: fix linter issues --- p2p/pkg/node/node.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/p2p/pkg/node/node.go b/p2p/pkg/node/node.go index 7500c5727..51d0286c3 100644 --- a/p2p/pkg/node/node.go +++ b/p2p/pkg/node/node.go @@ -185,7 +185,7 @@ func NewNode(opts *Options) (*Node, error) { monitor := txmonitor.New( opts.KeySigner.GetAddress(), contractRPC, - txmonitor.NewEVMHelper(contractRPC.Client()), + txmonitor.NewEVMHelperWithLogger(contractRPC.Client(), opts.Logger.With("component", "txmonitor")), store, opts.Logger.With("component", "txmonitor"), 1024, @@ -337,7 +337,7 @@ func NewNode(opts *Options) (*Node, error) { evtMgr, store, commitmentDA, - txmonitor.NewEVMHelper(contractRPC.Client()), + txmonitor.NewEVMHelperWithLogger(contractRPC.Client(), opts.Logger.With("component", "evm_helper")), optsGetter, opts.Logger.With("component", "tracker"), )