Skip to content

Fix Foundry fuzz runs config#541

Open
Genmin wants to merge 1 commit into
Uniswap:mainfrom
Genmin:codex/fix-foundry-fuzz-runs
Open

Fix Foundry fuzz runs config#541
Genmin wants to merge 1 commit into
Uniswap:mainfrom
Genmin:codex/fix-foundry-fuzz-runs

Conversation

@Genmin

@Genmin Genmin commented Apr 28, 2026

Copy link
Copy Markdown

Summary

  • Replace deprecated fuzz_runs keys with Foundry's current fuzz.runs profile syntax.
  • Set the default profile to 1,000 fuzz runs and CI to 5,000 so the values are actually applied without triggering the unknown-config warning.

Fixes #512.

Validation

  • forge config --json | jq '.fuzz.runs' -> 1000
  • FOUNDRY_PROFILE=ci forge config --json | jq '.fuzz.runs' -> 5000
  • forge test -> 488 passed, 0 failed

@Genmin
Genmin marked this pull request as ready for review April 28, 2026 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Unknown fuzz_runs config applied in foundry.toml for fuzz tests

1 participant