Skip to content

feat(models): self-maintaining blob submitter labels via scheduled fetcher - #289

Draft
samcm wants to merge 1 commit into
masterfrom
worktree-blob-submitter-label-fetcher
Draft

feat(models): self-maintaining blob submitter labels via scheduled fetcher#289
samcm wants to merge 1 commit into
masterfrom
worktree-blob-submitter-label-fetcher

Conversation

@samcm

@samcm samcm commented Jul 2, 2026

Copy link
Copy Markdown
Member

The dim_block_blob_submitter.name label came from an external default.blob_submitter table that was seeded once (Dec 2025) and never refreshed, so rollups that started submitting blobs afterwards (e.g. Robinhood Chain, first blob 2026-04-30) all show as 'Unknown'. This replaces that stale seed with a CBT-owned, scheduled dim_blob_submitter table populated by a new fetcher (models/scripts/dim_blob_submitter.py) that enriches recently-active blob submitters from growthepie, eth-labels, and Dune — mirroring the existing dim_contract_owner pattern — and repoints the join to it (removing the unused external model).

Draft because two follow-ups are needed before merge: run make proto after the migration applies to generate pkg/proto/clickhouse/dim_blob_submitter.* from the live table, and set DUNE_API_KEY in the deploy env for best label coverage (the script degrades gracefully without it).

…tcher

The dim_block_blob_submitter name column was fed by an external
default.blob_submitter table that was seeded once (Dec 2025) and never
refreshed, so every rollup that started submitting blobs after that date
(e.g. Robinhood Chain, first blob 2026-04-30) fell through to 'Unknown'.

Replace the stale one-off seed with a CBT-owned, scheduled label table
that refreshes from the same sources dim_contract_owner already uses:

- migrations/100_dim_blob_submitter: new dim_blob_submitter label table
- models/transformations/dim_blob_submitter.yml: scheduled (@every 6h) exec model
- models/scripts/dim_blob_submitter.py: enriches recent blob submitters from
  growthepie, eth-labels, and Dune (labels.owner_addresses)
- dim_block_blob_submitter: join the new table instead of the external seed
- remove the now-unused external blob_submitter model
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