foundry
foundry copied to clipboard
feat(`cast`): add `--from` flag to allow cast to prank address in `estimate` call
Component
Cast
Describe the feature you would like
I often want to estimate the gas for a transaction that I'm not allowed to call.
I would love a --from flag that allows me to input the from address to spoof the call and get the gas cost.
I can do this through forge but there's a lot more overhead to set it up.
Additional context
No response