Skip to content

Increase Solc Optimiser Runs #54

@code423n4

Description

@code423n4

Handle

hickuphh3

Vulnerability details

Impact

The number of solc runs used for contract compilation is 200. This number can be bumped significantly to produce more gas efficient code (max value of 2**32-1).

More information can be found in the solidity docs.

Recommended Mitigation Steps

In hardhat.config.js, increase solc runs significantly. Contract sizes and thus deployment costs will increase, but functions will cost less gas to execute.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions