Skip to content

feat: fuzz failure persistence #2551

@mds1

Description

@mds1

Component

Forge

Describe the feature you would like

#991 was closed by #1658, but as documented by this comment there's some other related work, so pulling that into separate issues.


Right now fuzz failures are only shown in the terminal, and there's no easy way to persist persist failures to allow saving them and easily re-running them.

  • Enable FailurePersistance to /cache/fuzz/failures-latest.json.
  • Add foundry.toml flag to specify outdir.
  • Ensure proptest can use FailurePersistance to resume fuzz campaigns.
  • Add --fuzz-input-file to allow user to specify a failures.json

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Completed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions