foundry
foundry copied to clipboard
`cast send` 0x prefixed calldata
Component
Cast
Describe the feature you would like
I'd like to be able to send transactions, make eth_call
s 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