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

fix ens name lookups to use correct encoding #216

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

aditiharini
Copy link
Contributor

encode_to_vec adds extra characters to the string and is not consistent with how the primary key is encoded on insert. Use as_bytes to translate the string to a vec of utf8 bytes.

@aditiharini aditiharini marked this pull request as ready for review January 14, 2025 22:09
@aditiharini aditiharini merged commit c7af168 into main Jan 14, 2025
2 checks passed
@aditiharini aditiharini deleted the fix-ens-name-encoding branch January 14, 2025 22:16
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.

1 participant