Skip to content

Commit

Permalink
add new cache
Browse files Browse the repository at this point in the history
  • Loading branch information
0xnogo committed Dec 17, 2024
1 parent 0c6480b commit 197f434
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions commit/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 197f434

Please sign in to comment.