Skip to content

Wishlist: Bytecode Size Measuring #992

Closed
@transmissions11

Description

@transmissions11

Component

Forge

Describe the feature you would like

forge build --sizes is cool, would be nice to build on it a bit to make it easier to work with:

  • filter out test contracts
  • see the delta between size limit and current
  • have a flag in CI to fail the build if any of the non test contracts exceed the size limit
  • some separate command to find the minimum optimizer runs that can fit your contracts into the limit

Additional context

one of the major pains when writing smart contracts is hitting the bytecode size limit. allowing ppl to catch when their contracts go over the limit as early as possible would be a major relief

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions