foundry
foundry copied to clipboard
debt(`cheatcodes`): use return `Self::Return` when implementing cheatcodes
Currently we return an untyped Vec
We can simplify the implementations by returning the corresponding return type directly.
This makes all cheatcodes fully statically typed.
Blocked on https://github.com/foundry-rs/foundry/issues/8404 to avoid extra churn on trait functions