Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contract call return of uint8 returns incorrect value #38

Open
michaelotis opened this issue Jul 27, 2020 · 0 comments
Open

Contract call return of uint8 returns incorrect value #38

michaelotis opened this issue Jul 27, 2020 · 0 comments

Comments

@michaelotis
Copy link

A call to a public variable inside a contract that is of type uint8 returns integer value and not hex bytes value. For example, a call to a token contract's decimal variable will return 12 and not 0x12, which would equal an integer of 18.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant