Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add ocr offchainConfig and chain config structs #36

Merged
merged 11 commits into from
Aug 6, 2024
Prev Previous commit
Next Next commit
Merge branch 'ccip-develop' into CCIP-2836
  • Loading branch information
makramkd committed Aug 1, 2024
commit f3f637c73d25b287f337091f3da364aa5ee84c13
6 changes: 6 additions & 0 deletions pluginconfig/execute.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
// DestChain is the ccip destination chain configured for the execute DON.
DestChain cciptypes.ChainSelector `json:"destChain"`

// SyncTimeout is the timeout for syncing the commit plugin reader.
SyncTimeout time.Duration `json:"syncTimeout"`

// SyncFrequency is the frequency at which the commit plugin reader should sync.
SyncFrequency time.Duration `json:"syncFrequency"`

// MessageVisibilityInterval is the time interval for which the messages are visible by the plugin.
MessageVisibilityInterval time.Duration `json:"messageVisibilityInterval"`
}
Expand All @@ -18,7 +24,7 @@
type ExecuteReportingPluginConfig struct {
// DestOptimisticConfirmations is how many confirmations to wait for the dest chain event before we consider it
// confirmed (optimistically, need not be finalized).
// TODO: seems like a good candiate for chain config?

Check failure on line 27 in pluginconfig/execute.go

View workflow job for this annotation

GitHub Actions / build-lint-test (1.21)

`candiate` is a misspelling of `candidate` (misspell)
DestOptimisticConfirmations uint32 `json:"destOptimisticConfirmations"`

// BatchGasLimit is the maximum sum of user callback gas we permit in one execution report.
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.