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

Add builder ENS name when adding new builder #7

Merged
merged 1 commit into from
Jan 21, 2025
Merged

Conversation

damianmarti
Copy link
Member

Getting the ENS name using another viem client always connected to mainnet.

It seems to be working fine.

Opened an issue on Ponder github because not using the client from the context is not recommended by Ponder, but I didn't find another way to do it ponder-sh/ponder#1446

After changing the indexed code, Ponder flushes all the data and reindexs all again, so no migration is needed and the ens field will be populated to all the builders.

Closes #5

Copy link
Contributor

@carletex carletex left a comment

Choose a reason for hiding this comment

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

Thanks @damianmarti, this works great! And thanks for asking on the Ponder repo :)

Left a tiny comment

src/CohortContract.ts Show resolved Hide resolved
@technophile-04
Copy link
Member

Thanks! Merging this 🙌

@technophile-04 technophile-04 merged commit 377454d into main Jan 21, 2025
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.

Handle ENS
3 participants