Skip to content

Does the "[fuzz]" TOML object apply to all profiles by default? #3571

Answered by mds1
PaulRBerg asked this question in Help
Discussion options

You must be logged in to vote

[fuzz] is an alias for [profile.default.fuzz]. The default profile config is applied to other profiles as a fallback, i.e. if they don't have their own config. So:

  • You can change the fuzz config for your ci profile with a [profile.ci.fuzz] section.
  • If you didn't have a [profile.ci.fuzz] section, the CI profile would use whatever is specified under [fuzz] (or equivalently, [profile.default.fuzz])

Here is an example of a foundry config that uses the default fuzz/invariant settings for the default, but changes the parameters for lite and ci profiles

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@mds1
Comment options

mds1 Oct 29, 2022
Maintainer

@PaulRBerg
Comment options

@mds1
Comment options

mds1 Oct 29, 2022
Maintainer

@mds1
Comment options

mds1 Oct 29, 2022
Maintainer

@PaulRBerg
Comment options

Answer selected by PaulRBerg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants