Skip to content

feat(forge-build): display complete compilation configuration upon invoking forge build #6736

Open
@MerlinEgalite

Description

@MerlinEgalite

Component

Forge

Describe the feature you would like

For now, when compiling files only the solc version is logged, see the screenshot below.

Screenshot 2024-01-09 at 15 19 51

It would be nice to log as well:

  • Whether the optimization is enabled
  • The number of optimizer runs
  • Whether via ir is enabled
  • The evm version (paris, shanghai, etc)
  • Why not raising a warning by default when a compiled contract exceeds the contract size limit

This can be very helpful to avoid doing incorrect gas studies, incorrect deployments, etc.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions