-
Notifications
You must be signed in to change notification settings - Fork 54
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
MultiOffRamp - size optimizations #991
Merged
elatoskinas
merged 27 commits into
ccip-develop
from
feat/merged-ramp-size-optimizations
Jun 21, 2024
Merged
Changes from 19 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
8529803
feat: remove in-depth message validations in multi-offramp
elatoskinas fc28d0f
feat: split out isCursed check to separate function
elatoskinas 7ab03eb
feat: remove global pause from multi-offramp
elatoskinas 883043e
perf: reduce number of optimizer runs for multi-offramp
elatoskinas 939f505
feat: move forked chain check to common internal function
elatoskinas 7c6944b
feat: split StaticConfig and DynamicConfig events
elatoskinas de7bf41
perf: bump up multi-offramp optimizer runs
elatoskinas af9727a
feat: remove uniqueReports from MultiOCR3
elatoskinas 14231e1
feat: convert epochAndRound to sequenceNumber for OCR3
elatoskinas 5b9b3cf
feat: combine source chain config is enabled check into internal func…
elatoskinas 2db2393
feat: separate zero address check to internal function
elatoskinas 64eab8d
fix: test fixes and compiler runs change
elatoskinas 6252749
perf: inline reporting functions for commit & exec
elatoskinas d1de42d
feat: split out bitmap fetching to internal function
elatoskinas ac8dd97
fix: no returns on empty roots commit report
elatoskinas dbd2a6e
feat: apply internal function change for releaseOrMintTokens
elatoskinas a9ebe66
chore: generate wrappers, snapshot, changeset
elatoskinas 1667bb5
Merge branch 'ccip-develop' into feat/merged-ramp-size-optimizations
elatoskinas d37b2d3
refactor: split out functions for readability
elatoskinas feaa3e6
Merge branch 'ccip-develop' into feat/merged-ramp-size-optimizations
elatoskinas a630eee
refactor: remove common zero address check
elatoskinas 61ff676
chore: re-gen snapshots, wrappers and reduce optimizer runs
elatoskinas c42f37d
Merge branch 'ccip-develop' into feat/merged-ramp-size-optimizations
elatoskinas b298761
fix: revert offramp optimizer runs
elatoskinas 49d3681
Merge branch 'ccip-develop' into feat/merged-ramp-size-optimizations
elatoskinas c7d74a0
style: renaming and variable placement
elatoskinas bc9743a
chore: update gas snapshots and wrappers
elatoskinas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 | ||
--- | ||
|
||
#changed MultiOffRamp contract size optimizations |
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 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Honestly not super fan of this as it makes the calls with multiple zero checks pretty unreadable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed this. The overhead is 0.056KB without the optimization, but I agree regarding the readability