Skip to content

Enable Solidity optimizer for accurate gas reporting - #5

Open
WTest1518 wants to merge 1 commit into
oliv3rdrt:mainfrom
WTest1518:enable-solidity-optimizer
Open

Enable Solidity optimizer for accurate gas reporting#5
WTest1518 wants to merge 1 commit into
oliv3rdrt:mainfrom
WTest1518:enable-solidity-optimizer

Conversation

@WTest1518

Copy link
Copy Markdown

Enabled Solidity optimizer with 200 runs in the Hardhat configuration.

This makes gas reporter results more representative of production deployment settings.

Changes:

  • Updated Solidity compiler configuration from a string version to an object configuration.
  • Enabled optimizer with runs set to 200.

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