From aeed0007b8c5460b6ff2ece8bc543f59fb8f5520 Mon Sep 17 00:00:00 2001 From: Mateusz Sekara Date: Wed, 23 Oct 2024 13:21:59 +0200 Subject: [PATCH] FIxes --- core/scripts/ccip/liquiditymanager/opstack/withdraw.go | 2 ++ .../plugins/liquiditymanager/internal/integration_test.go | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/core/scripts/ccip/liquiditymanager/opstack/withdraw.go b/core/scripts/ccip/liquiditymanager/opstack/withdraw.go index 18f0620e5f..2cc42ea2b6 100644 --- a/core/scripts/ccip/liquiditymanager/opstack/withdraw.go +++ b/core/scripts/ccip/liquiditymanager/opstack/withdraw.go @@ -16,6 +16,7 @@ import ( "github.com/smartcontractkit/chainlink/v2/core/gethwrappers/shared/generated/erc20" ) +// nolint func WithdrawFromL2( env multienv.Env, l2ChainID uint64, @@ -62,6 +63,7 @@ func WithdrawFromL2( helpers.ConfirmTXMined(context.Background(), env.Clients[l2ChainID], tx, int64(l2ChainID), "WithdrawFromL2") } +// nolint func WithdrawFromL2ViaRebalancer( env multienv.Env, l2ChainID, diff --git a/core/services/ocr2/plugins/liquiditymanager/internal/integration_test.go b/core/services/ocr2/plugins/liquiditymanager/internal/integration_test.go index 765366a5c3..080e9b82e3 100644 --- a/core/services/ocr2/plugins/liquiditymanager/internal/integration_test.go +++ b/core/services/ocr2/plugins/liquiditymanager/internal/integration_test.go @@ -160,7 +160,7 @@ func setupNodeOCR3( } relayerFactory := chainlink.RelayerFactory{ Logger: lggr, - LoopRegistry: plugins.NewLoopRegistry(lggr.Named("LoopRegistry"), config.Tracing()), + LoopRegistry: plugins.NewLoopRegistry(lggr.Named("LoopRegistry"), config.Tracing(), config.Telemetry()), GRPCOpts: loop.GRPCOpts{}, } initOps := []chainlink.CoreRelayerChainInitFunc{chainlink.InitEVM(testutils.Context(t), relayerFactory, evmOpts)} @@ -179,7 +179,7 @@ func setupNodeOCR3( RestrictedHTTPClient: &http.Client{}, AuditLogger: audit.NoopLogger, MailMon: mailMon, - LoopRegistry: plugins.NewLoopRegistry(lggr, config.Tracing()), + LoopRegistry: plugins.NewLoopRegistry(lggr, config.Tracing(), config.Telemetry()), }) require.NoError(t, err) require.NoError(t, app.GetKeyStore().Unlock(ctx, "password"))