foundry-rs / foundry-rs/foundry
feat(`cheatcodes`): create the ability to easily extend Foundry's cheatcodes using Reth's `ext` pattern
- Dominant language
- Rust
- Stars
- 10.6k
- Forks
- 2.6k
- Avg merge
- 16h 38m
- Merged PRs (30d)
- 511
Description
### Component
Other (please describe)
### Describe the feature you would like
From https://github.com/foundry-rs/foundry/issues/9807
Request, to extend cheatcodes: we have added a number of cheatcodes for our use-case. It would be great if we could follow the `ext` pattern found in projects such as Reth, so that we can extend the cheatcode syntax without having to fork Foundry.
### Additional context
_No response_
Contributor guide
Research direction
Start by reading the referenced Foundry issue #9807 and the Reth `ext` pattern mentioned in the request. Trace how Foundry's cheatcodes are registered and dispatched, then define what an extension point would need to support. Done means users can add cheatcodes without forking Foundry while existing cheatcode behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- blockchain, devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100