Skip to content

Remove all hardcoded defaults from Foundry’s source code #942

@hedgar2017

Description

@hedgar2017

Component

Forge

Describe the feature you would like

If defaults are hardcoded in Foundry’s source code, they are either unconfigurable or unseen by users.

In order to make project configuation more intuitive and straighforward, we must do the following:

  1. List all defaults that are hardcoded in the Foundry source code.
  2. Verify that none of these defaults are different from those of zksolc.
  3. Remove all defaults that match those of zksolc from the Foundry codebase. Thus after this change:
    • mandatory parameters are explicitly specified in project configs
    • optional parameters are chosen by zksolc or solc
    • codegen option is an exception and will be discussed separately due to an ongoing migration to the L1/EVM default
  4. Document all options are their defaults (per this issue).
  5. List all defaults that do not match those of zksolc especially across different versions of zksolc in this issue for further discussion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions