-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MultiOffRamp - merge MultiCommitStore (#987)
## Motivation Directly merges the MultiOffRamp with the MultiCommitStore to benefit from the locality of the commit & execution reporting in one contract ## Solution * Copies over the functions and tests from the MultiCommitStore * Simplifies shared configuration * `_verify` is now an internal function only used locally in execution * Fix: Implements a `_afterOCR3ConfigSet` to clear the `s_latestPriceEpochAndRound` for the CommitStore - since this was previously only done on the `_beforeConfigSet` hook, which is no longer present Current size margin is -2.604KB. Optimizations are out of scope for this PR.
- Loading branch information
1 parent
b8ad704
commit 974da41
Showing
23 changed files
with
2,270 additions
and
3,926 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@chainlink/contracts-ccip": minor | ||
--- | ||
|
||
#updated Merge MultiCommitStore into MultiOffRamp |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
324 changes: 272 additions & 52 deletions
324
contracts/src/v0.8/ccip/offRamp/EVM2EVMMultiOffRamp.sol
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.