Skip to content
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

chore: bump to Solidity 0.8.28 for transient keyword #442

Merged
merged 9 commits into from
Oct 21, 2024

Conversation

BenSparksCode
Copy link
Contributor

@BenSparksCode BenSparksCode commented Oct 19, 2024

Changes:

  • Upgrade solc version from 0.8.25 to 0.8.28.
  • Remove our manual assembly-based transient storage approach, and instead use the new transient keyword syntax when declaring the variables, introduced in Solidity 0.8.28.
  • The initial Solidity version upgrade increases Atlas size by 91 bytes but the transient syntax refactor decreases it by 905 bytes for a net effect of a 814 bytes decrease.

Blockers:

@BenSparksCode BenSparksCode marked this pull request as ready for review October 21, 2024 19:29
@BenSparksCode BenSparksCode merged commit da20385 into size-cuts Oct 21, 2024
2 of 3 checks passed
@BenSparksCode BenSparksCode deleted the transient-keyword branch October 21, 2024 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant