-
Notifications
You must be signed in to change notification settings - Fork 22
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
OP Stack SOLC update from 0.8.15 to 0.8.25 #106
Conversation
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.
Looks good to me. I've already managed to compile the contracts with solc 0.8.25 and it worked fine. We also seem to have mercifully gained back a few hundred bytes inside of OptimismPortal2Interop.
You have my approval but please also get approval from @mds1 before merging |
Oh and @maurelian too |
#### Gas Optimization | ||
|
||
- Unchecked loop increments (>= 0.8.22) | ||
- Use `mcopy` instead of `mload`/`mstore` loop when copying byte arrays (>= 0.8.25) |
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.
mcopy will also simplify our proofs and may improve performance there as a result
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.
Not sure if you suggest I add this or just a comment...
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.
Left a couple suggestions, am good once resolved.
Description
This covers solidity version upgrade of all OP Stack smart contracts from 0.8.15 code to 0.8.25.
Metadata
Fixes ethereum-optimism/optimism#11527