mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #5879 from ethereum/faq-return-enum
[DOCS] Remove web3 return FAQ item
This commit is contained in:
commit
8d5293dbc0
@ -4,18 +4,6 @@ Frequently Asked Questions
|
||||
|
||||
This list was originally compiled by `fivedogit <mailto:fivedogit@gmail.com>`_.
|
||||
|
||||
|
||||
***************
|
||||
Basic Questions
|
||||
***************
|
||||
|
||||
If I return an ``enum``, I only get integer values in web3.js. How to get the named values?
|
||||
===========================================================================================
|
||||
|
||||
Enums are not supported by the ABI, they are just supported by Solidity.
|
||||
You have to do the mapping yourself for now, we might provide some help
|
||||
later.
|
||||
|
||||
******************
|
||||
Advanced Questions
|
||||
******************
|
||||
|
Loading…
Reference in New Issue
Block a user