You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Solidity compiler doesn't generate the correct abi type for library. The enum should be mapped to uint8, it works for contract but not for library. Instead, the type is simply a user-defined value "type": "mycontract.Field".
Environment
Compiler version: 0.8.13
Target EVM version (as per compiler settings): default
Description
Solidity compiler doesn't generate the correct abi type for library. The enum should be mapped to
uint8
, it works forcontract
but not forlibrary
. Instead, the type is simply a user-defined value"type": "mycontract.Field"
.Environment
Steps to Reproduce
Compile the following code snippet and obtain the abi output from the remix
The abi output I got
The text was updated successfully, but these errors were encountered: