Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(forge): exclude precompiles by default in invariant tests #4287

Closed
PaulRBerg opened this issue Feb 6, 2023 · 0 comments · Fixed by #8367
Closed

feat(forge): exclude precompiles by default in invariant tests #4287

PaulRBerg opened this issue Feb 6, 2023 · 0 comments · Fixed by #8367
Labels
A-testing Area: testing T-feature Type: feature

Comments

@PaulRBerg
Copy link
Contributor

Component

Forge

Describe the feature you would like

In #1228 it was agreed that precompiles should still be fuzzed as inputs for normal fuzz tests - that is cool.

However, I don't see the point in fuzzing the precompiles as the msg.sender when running invariant tests. Forge should by default exclude all precompiles, because in the real world a precompile can never be the msg.sender of any Ethereum transaction.

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-testing Area: testing T-feature Type: feature
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants