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

EVM using uint type when encoding will report an error #6

Closed
yingjun-wu opened this issue Jul 29, 2021 · 0 comments
Closed

EVM using uint type when encoding will report an error #6

yingjun-wu opened this issue Jul 29, 2021 · 0 comments
Assignees
Labels
bug Something isn't working duplicate This issue or pull request already exists question Further information is requested

Comments

@yingjun-wu
Copy link
Contributor

evm will select uint256 by default when processing uint type data, resulting in inaccurate function entry addresses before and after encoding.

for example,
The current encoding function entry method is

[bytes4] sha3(function(uint))

Should be modified to

[bytes4] sha3(function(uint256))
@yingjun-wu yingjun-wu added bug Something isn't working question Further information is requested labels Jul 29, 2021
@yingjun-wu yingjun-wu self-assigned this Jul 29, 2021
@yingjun-wu yingjun-wu added the duplicate This issue or pull request already exists label Aug 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants