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

ZKPVerifier challenge check results in reverse address #28

Open
sirpy opened this issue Mar 3, 2024 · 0 comments
Open

ZKPVerifier challenge check results in reverse address #28

sirpy opened this issue Mar 3, 2024 · 0 comments

Comments

@sirpy
Copy link

sirpy commented Mar 3, 2024

For some reason the PrimitiveTypeUtils.int256ToAddress reverse the int256 which results in a reverse address and the challenge check fails
you can see the sender address 0x11a132bfb1b13eac529800fd90c6a9d1ff26014d compared to the reverse challenge 0x4d0126ffd1a9c690fd009852ac3eb1b1bf32a111
https://www.tdly.co/tx/polygon-mumbai/0x95d314ac1fc1a12d673f7f23b3ee4e58741060041f01f2a402621d1b9474dab7

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