Skip to content

[Bug-Candidate]: Echidna fails to shrink call (revert) + vm.roll + vm.warp into only vm.roll + vm.warp #1505

Description

@aviggiano

Describe the issue:

Description

In some scenarios, Echidna generates a failing sequence that contains a call, a block roll and a timestamp warp, where the call reverts, but where going forward in time is a pre-requisite for the sequence.

Ideally, the shrank sequence would ditch the call and only keep the roll and warp. In addition to keeping the sequences smaller, this makes it easier to convert the reproducer to Foundry, as we don't need to manually trim the reverting call function

Code example to reproduce the issue:

N/A (closed source)

Version:

Echidna 2.3.0

Relevant log output:

N/A

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions