foundry icon indicating copy to clipboard operation
foundry copied to clipboard

`cast send` 0x prefixed calldata

Open tynes opened this issue 2 years ago • 6 comments

Component

Cast

Describe the feature you would like

I'd like to be able to send transactions, make eth_calls or do gas estimation with calldata directly instead of passing in a function selector + args. This is useful when handling data that has already been ABI encoded or if the calldata is not following ABI.

seth does have this feature, it would require some refactoring to allow cast to do so but it should definitely be possible.

Additional context

No response

tynes avatar Jan 17 '23 19:01 tynes