foundry-rs / foundry

Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.
https://getfoundry.sh
Apache License 2.0
8.32k stars 1.76k forks source link

meta(cheatcodes): tracking issue for cheatcode improvements #4439

Open mds1 opened 1 year ago

mds1 commented 1 year ago

Component

Forge

Describe the feature you would like

This issue tracks general cheatcode improvements. Items are roughly ordered by my opinion of priority, both at the header-level and the bullet-level. I say "roughly ordered" because some items are much bigger scope than others so having a strict ordering doesn't make much sense.

Refactors, Higher Priority

Medium Priority

Lower Priority

Additional context

No response

PaulRBerg commented 1 year ago

Can we bump the priority of https://github.com/foundry-rs/foundry/issues/4762 up to "Medium"?

  1. It's a subtle cause for failing tests, which can result in long-winded debugging sessions.
  2. For complex code bases with many test contracts, it is frustrating to have to ensure that certain dummy contracts are never considered for reverts. The refactors required to skirt around this limitation can be non-trivial.