Increase optimizer runs #74
Labels
bug
Warden finding
G (Gas Optimization)
sponsor acknowledged
Technically the issue is correct, but we're not going to resolve it for XYZ reasons
Handle
tensors
Vulnerability details
Solidity 0.8.7 has a good optimizer that saves a lot gas when compiling to bytecode.
You can use it by increasing the number of runs to something like 2000 at least in the config.
https://github.com/code-423n4/2021-10-defiprotocol/blob/7ca848f2779e2e64ed0b4756c02f0137ecd73e50/contracts/hardhat.config.ts#L41
The text was updated successfully, but these errors were encountered: