Skip to content

Commit

Permalink
Zk Overflow in Execution Plugin (#947)
Browse files Browse the repository at this point in the history
Changes to make the execution plugin overflow-compatible
  • Loading branch information
0xnogo authored Jul 30, 2024
1 parent 068b3fe commit 451984a
Show file tree
Hide file tree
Showing 19 changed files with 1,990 additions and 650 deletions.
3 changes: 3 additions & 0 deletions .mockery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,9 @@ packages:
PriceGetter:
config:
mockname: "Mock{{ .InterfaceName }}"
github.com/smartcontractkit/chainlink/v2/core/services/relay/evm/statuschecker:
interfaces:
CCIPTransactionStatusChecker:
github.com/smartcontractkit/chainlink/v2/core/services/ocr2/plugins/ccip/internal/rpclib:
config:
outpkg: rpclibmocks
Expand Down
10 changes: 5 additions & 5 deletions core/services/ocr2/delegate.go
Original file line number Diff line number Diff line change
Expand Up @@ -330,15 +330,15 @@ func (d *Delegate) cleanupEVM(ctx context.Context, jb job.Job, relayID types.Rel

dstProvider, err2 := d.ccipCommitGetDstProvider(ctx, jb, pluginJobSpecConfig, transmitterID)
if err2 != nil {
return err2
return err
}

srcProvider, _, err2 := d.ccipCommitGetSrcProvider(ctx, jb, pluginJobSpecConfig, transmitterID, dstProvider)
if err2 != nil {
return err2
return err
}
err2 = ccipcommit.UnregisterCommitPluginLpFilters(srcProvider, dstProvider)
if err != nil {
if err2 != nil {
d.lggr.Errorw("failed to unregister ccip commit plugin filters", "err", err2, "spec", spec)
}
return nil
Expand All @@ -353,12 +353,12 @@ func (d *Delegate) cleanupEVM(ctx context.Context, jb job.Job, relayID types.Rel

dstProvider, err2 := d.ccipExecGetDstProvider(ctx, jb, pluginJobSpecConfig, transmitterID)
if err2 != nil {
return err2
return err
}

srcProvider, _, err2 := d.ccipExecGetSrcProvider(ctx, jb, pluginJobSpecConfig, transmitterID, dstProvider)
if err2 != nil {
return err2
return err
}
err2 = ccipexec.UnregisterExecPluginLpFilters(srcProvider, dstProvider)
if err2 != nil {
Expand Down
Loading

0 comments on commit 451984a

Please sign in to comment.