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

bit fix #821

Merged
merged 2 commits into from
Jul 19, 2022
Merged

bit fix #821

merged 2 commits into from
Jul 19, 2022

Conversation

Westlad
Copy link
Contributor

@Westlad Westlad commented Jul 19, 2022

The Poseidon hash code incorrectly encodes the top four bytes of the tokenId at bit 161 (*2^161) in the ERC address field. This should of course be at bit 160 (*2^160). This PR fixes that.

@Westlad Westlad added the bug label Jul 19, 2022
@Westlad Westlad requested a review from IlyasRidhuan July 19, 2022 09:17
@IlyasRidhuan IlyasRidhuan merged commit 88eea4d into ilyas/kem-dem Jul 19, 2022
@IlyasRidhuan IlyasRidhuan deleted the westlad/bit-fix branch July 19, 2022 09: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

Successfully merging this pull request may close these issues.

2 participants