From 197f434ae75c493d2205e150d1f90956f43a17b8 Mon Sep 17 00:00:00 2001 From: nogo <0xnogo@gmail.com> Date: Tue, 17 Dec 2024 11:32:56 +0400 Subject: [PATCH] add new cache --- commit/factory.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/commit/factory.go b/commit/factory.go index f7555b37d..12ad57c49 100644 --- a/commit/factory.go +++ b/commit/factory.go @@ -21,6 +21,7 @@ import ( "github.com/smartcontractkit/chainlink-ccip/commit/merkleroot/rmn" "github.com/smartcontractkit/chainlink-ccip/commit/metrics" + "github.com/smartcontractkit/chainlink-ccip/internal/cache" "github.com/smartcontractkit/chainlink-ccip/internal/plugintypes" "github.com/smartcontractkit/chainlink-ccip/internal/reader" "github.com/smartcontractkit/chainlink-ccip/pkg/consts" @@ -230,6 +231,7 @@ func (p *PluginFactory) NewReportingPlugin(ctx context.Context, config ocr3types offchainConfig.TokenInfo, ccipReader, offchainConfig.PriceFeedChainSelector, + cache.NewCache[string, uint8](cache.NeverExpirePolicy{}), ) metricsReporter, err := metrics.NewPromReporter(lggr, p.ocrConfig.Config.ChainSelector)