foundry-rs / foundry-rs/foundry
bug(cheatcodes): non-stable cheatcodes should emit warnings and errors
- Dominant language
- Rust
- Stars
- 10.6k
- Forks
- 2.6k
- Avg merge
- 16h 38m
- Merged PRs (30d)
- 511
Description
### Component
Forge
### Have you ensured that all of these are up to date?
- [X] Foundry
- [X] Foundryup
### What version of Foundry are you on?
forge 0.2.0 (ce22450 2024-03-06T00:18:18.671530895Z)
### What command(s) is the bug in?
_No response_
### Operating System
None
### Describe the bug
Cheatcodes can be tagged with a `status`: https://github.com/foundry-rs/foundry/blob/ce22450e4d625d12ff88fae347a68e3d3d9d2b61/crates/cheatcodes/spec/src/cheatcode.rs#L40-L57
Use of these cheatcodes should result in a warning or hard error when appropriate, which currently does not appear to have been implemented.
Related: https://github.com/foundry-rs/foundry/pull/7317#discussion_r1512788652
Contributor guide
Assessment
This issue has not been assessed yet.