echidna icon indicating copy to clipboard operation
echidna copied to clipboard

Feature request: extend from other config files

Open PaulRBerg opened this issue 5 years ago • 1 comments
trafficstars

I find it common for Echidna tests that belong to a specific contract to require a bespoke configuration file. One contract may only be called by an admin, while another one may need some functions whitelisted or blacklisted.

This is how I structure my Echidna invariants:

contracts
└── invariants
    ├── FooInvariants.sol
    ├── foo.yml
    ├── BarInvariants.sol
    └── bar.yml

A lot of fields get repeated across the *.yml files. It'd be nice if I could have "child" Echidna configs that extend from other "parent" Echidna configs, similar to how I can do this with Solhint.

PaulRBerg avatar Oct 22 '20 13:10 PaulRBerg

This is implemented in echidna-parade. More info is coming soon..

gustavo-grieco avatar Jun 29 '21 11:06 gustavo-grieco