Skip to content

Conversation

@Vectorized
Copy link
Owner

Description

Can reduce the bytecode size of a contract by around 400 bytes, which is massive.

Checklist

Ensure you completed all of the steps below before submitting your pull request:

  • Ran forge fmt?
  • Ran forge snapshot?
  • Ran forge test?

Pull requests with an incomplete checklist will be thrown out.

@Vectorized Vectorized merged commit 2ac0b12 into main Jan 16, 2025
9 checks passed
@Vectorized Vectorized deleted the optimize-revert-bytecode-size branch January 16, 2025 18:26
Copy link

@shuhuiluo shuhuiluo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well played.

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.

3 participants