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

Contracts/Types/Address.php issue #334

Open
hyperworld103 opened this issue Sep 20, 2023 · 0 comments
Open

Contracts/Types/Address.php issue #334

hyperworld103 opened this issue Sep 20, 2023 · 0 comments

Comments

@hyperworld103
Copy link

hyperworld103 commented Sep 20, 2023

Hello
I found one issue through using the web3p library
image
I called Address.inputFormat($value, 'address') with two addresses- 0x0Dee5C5167D2463Fa17FD47aF99fb57F0B60E3D5 and 0x0000000000000000000000000000000000001000
when the address is hexadecimal value(0x0Dee5C5167D2463Fa17FD47aF99fb57F0B60E3D5),
the result(0000000000000000000000000dee5c5167d2463fa17fd47af99fb57f0b60e3d5) is correct.
But when the address is decimal value(0x0000000000000000000000000000000000001000),
the result(00000000000000000000000000000000000000000000000000000000000003e8) is incorrect.
Thank you.

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