-
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.
This PR addresses various static analysis findings, mostly to reduce gas and contract bytecode size. Both before and after use 3600 optimizations. Due to the saves space in the onRamp we can bump the number of optimizations. Each commit addresses a different change, and each commit contains the gas snapshot to illustrate the impact of that particular change. Before ``` | EVM2EVMMultiOffRamp | 24.665 | -0.089 | | EVM2EVMMultiOnRamp | 20.885 | 3.691 | | EVM2EVMOffRamp | 23.092 | 1.484 | | EVM2EVMOnRamp | 24.432 | 0.144 | 2E:test_E2E_3MessagesSuccess_gas() (gas: 1.104.821) MultiRampsE2E:test_E2E_3MessagesSuccess_gas() (gas: 1.424.394) ``` After ``` | EVM2EVMMultiOffRamp | 24.538 | 0.038 | | EVM2EVMMultiOnRamp | 20.841 | 3.735 | | EVM2EVMOffRamp | 22.968 | 1.608 | | EVM2EVMOnRamp | 24.351 | 0.225 | E2E:test_E2E_3MessagesSuccess_gas() (gas: 1.102.679) MultiRampsE2E:test_E2E_3MessagesSuccess_gas() (gas: 1.422.669) ``` note: comment slightly outdated since the last merge. Overall diff should still be the same --------- Co-authored-by: app-token-issuer-infra-releng[bot] <120227048+app-token-issuer-infra-releng[bot]@users.noreply.github.com>
- Loading branch information
1 parent
7d2cae3
commit f77e6f0
Showing
31 changed files
with
483 additions
and
450 deletions.
There are no files selected for viewing
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
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.