This repository has been archived by the owner on Oct 19, 2024. It is now read-only.
abigen!
generates incorrect types for functions as arguments
#1699
Labels
bug
Something isn't working
Version
0.17
Platform
macOS 12
Description
The generated method will have
u8
as the type for the function, but according to https://docs.soliditylang.org/en/develop/abi-spec.html#typesExample ABI snippet:
Example corresponding currently generated function by
abigen!
:Ideally, this should generate correct raw types or take a high-level type that will e.g. resolve the provided contract address+function name to the corresponding
bytes24
argument.The text was updated successfully, but these errors were encountered: