Skip to content

Allow Medusa to run init function (ex: setUp) once per fuzz run #611

@montyly

Description

@montyly

A common pattern for large codebase is to setup the system through the setUp() function (from foundry).

It would be great if the user could specify an "init function" (which would be setUp() by default).

Given that medusa can take a list of contracts to deploy in targetContracts, this probably requires a dictionary in the config to configure the init function per contract

Wdyt?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions