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

[BENS] Perform to_checksum to response addresses #833

Merged
merged 3 commits into from
Apr 11, 2024
Merged

Conversation

sevenzing
Copy link
Collaborator

@sevenzing sevenzing commented Apr 11, 2024

during batch resolving blockscout tries to fetch addresses from response map using checksum address, but BENS returns addresses in lower case (from graph-node database). This PR provides checksum address serialization according to chain_id (for rootstock 🥲 )

@sevenzing sevenzing changed the title [BENS] Perform checksum to response addresses [BENS] Perform to_checksum to response addresses Apr 11, 2024
Copy link
Contributor

@bragov4ik bragov4ik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did not look deep into the logic, seems good 👍

blockscout-ens/bens-server/src/conversion/mod.rs Outdated Show resolved Hide resolved
@sevenzing sevenzing merged commit 2db1a06 into main Apr 11, 2024
3 checks passed
@rimrakhimov rimrakhimov deleted the ll/bens-checksum branch June 14, 2024 11:07
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.

3 participants