foundry-rs / foundry-rs/foundry

feat(`ci`): allow for testing `repros` and `cheats` Solidity test suites across a range of EVM versions

Open
#11,436 2 comments 0 reactions 0 assignees View on GitHub
A-internals A-testing T-feature
Dominant language
Rust
Stars
10.6k
Forks
2.6k
Avg merge
18h 20m
Merged PRs (30d)
510

Description

### Component

Other (please describe)

### Describe the feature you would like

In order to properly test for regressions across hardforks our test suite should be able to run its `repros` and `cheats` Solidity test suite across a range of EVM versions. It is also important our `cast` and `anvil` tests can be configured in a way to run with a specific EVM version, perhaps in a similar manner we do with `--isolate`.

Realistically we can limit it to >= Paris as in practice it is the lowest EVM version used in production (at Linea, I believe).
If this is too time consuming we can limit it to previous, current, next.

This will also make it easier to catch regressions prior to updating the default EVM version for users.

Related: https://github.com/foundry-rs/foundry/issues/11428

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.