-
Notifications
You must be signed in to change notification settings - Fork 337
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: noPrecompiles
modifier or function
#134
Comments
Additional modifiers to exclude foundry addresses (such as Vm and the test contract), as well as an array of user provided addresses, would also be useful. See https://twitter.com/0xArbiter/status/1571927649353711618 |
Per @mds1 request on foundry-rs/foundry#1078 here are some additional precompiles for Avalanche evm-based subnets. A list of such subnets is maintained here. |
One thing to note is that Optimism doesn't have extra precompiles, they are technically predeploys so they are evm bytecode placed at specific addresses. I do think that it makes sense to avoid those addresses while fuzzing, it makes sense to include them in |
Closed by #184 |
Ref foundry-rs/foundry#1228
The fuzzer will pass precompile addresses to tests. These are valid inputs so we don't want to strip them from the fuzzer, but in some tests they can cause problems. The scope of this issue is to add a modifier OR a function (I'm not yet sure which we should prefer, open to discussion here, as well a name other than
noPrecompiles
) that does something like this:I think including mainnet, optimism, and arbitrum precompiles is a good start for this PR
The text was updated successfully, but these errors were encountered: