Skip to content

Conversation

@LeonardoVieira1630
Copy link
Member

@LeonardoVieira1630 LeonardoVieira1630 commented Jan 27, 2026

Ponder 0.16 Migration & Address Normalization

Summary

This PR upgrades Ponder from v0.11.40 to v0.16.2 and implements address normalization across the indexer to ensure consistent address formatting.

Changes

Ponder Upgrade

  • Upgraded ponder package from ^0.11.40 to ^0.16.2

Address Normalization

  • Added getAddress from viem to normalize all addresses to checksummed format
  • Applied normalization in:
    • Event handlers (delegation, transfer, voting)
    • Metrics handlers (circulating, delegated, supply, total)
    • Shared utilities (account creation, transaction handling, daily buckets)
    • ERC20 indexer

Why

Address normalization ensures that:

  • All stored addresses follow the same format (EIP-55 checksum)
  • Comparisons between addresses work correctly regardless of input format
  • Data consistency is maintained across the database

Files Changed

  • apps/indexer/package.json - Version bump
  • apps/indexer/src/eventHandlers/* - Address normalization
  • apps/indexer/src/indexer/scr/erc20.ts - Address normalization
  • apps/api-gateway/schema.graphql - Schema updates

@LeonardoVieira1630 LeonardoVieira1630 self-assigned this Jan 27, 2026
@vercel
Copy link

vercel bot commented Jan 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
anticapture Ready Ready Preview, Comment Jan 27, 2026 5:22pm
1 Skipped Deployment
Project Deployment Review Updated (UTC)
anticapture-storybook Skipped Skipped Jan 27, 2026 5:22pm

Request Review

@LeonardoVieira1630
Copy link
Member Author

LeonardoVieira1630 commented Jan 27, 2026

It is deployed on ens indexer and nouns indexer btw (dev env).

@pikonha pikonha merged commit 3481eaf into dev Jan 27, 2026
4 checks passed
@pikonha pikonha deleted the feat/ponder-0.16-migration branch January 27, 2026 20:21
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