foundry icon indicating copy to clipboard operation
foundry copied to clipboard

feat(`cast`): add `--from` flag to allow cast to prank address in `estimate` call

Open zobront opened this issue 2 years ago • 0 comments

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

zobront avatar Sep 27 '22 17:09 zobront