Skip to content

Commit

Permalink
commit plugin - set offchain config (#218)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimkouv authored Oct 18, 2023
1 parent a509422 commit 10433af
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/services/ocr2/plugins/ccip/commit_reporting_plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ func (rf *CommitReportingPluginFactory) NewReportingPlugin(config types.Reportin
return nil, types.ReportingPluginInfo{}, err
}

pluginOffChainConfig := rf.config.commitStore.OffchainConfig()

return &CommitReportingPlugin{
sourceChainSelector: rf.config.sourceChainSelector,
sourceNative: rf.config.sourceNative,
Expand All @@ -162,6 +164,7 @@ func (rf *CommitReportingPluginFactory) NewReportingPlugin(config types.Reportin
int64(rf.config.commitStore.OffchainConfig().DestFinalityDepth),
),
gasPriceEstimator: rf.config.commitStore.GasPriceEstimator(),
offchainConfig: pluginOffChainConfig,
},
types.ReportingPluginInfo{
Name: "CCIPCommit",
Expand Down

0 comments on commit 10433af

Please sign in to comment.