Skip to content

Conversation

@charlescrain
Copy link

@charlescrain charlescrain commented Sep 10, 2025

Motivation

The RareBatchAuctionHouse contract bytecode exceeded the EVM size limit due to verbose error strings combined with additional functionality. To make the contract deployable, the bytecode needed to be reduced.

Changes

  • optimizer set to 100 in attempt to reduce size
  • Removed detailed function-name text from error messages to shrink contract bytecode.
  • Updated all related tests to match the new, shorter error strings.

@charlescrain charlescrain merged commit 5aaa719 into main Sep 24, 2025
@charlescrain charlescrain deleted the reduce-size-of-auction-contract branch September 24, 2025 14:28
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.

2 participants