Merge pull request #5879 from ethereum/faq-return-enum

[DOCS] Remove web3 return FAQ item
This commit is contained in:
chriseth 2019-01-28 14:20:05 +01:00 committed by GitHub
commit 8d5293dbc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
******************