feat(models): self-maintaining blob submitter labels via scheduled fetcher - #289
Draft
samcm wants to merge 1 commit into
Draft
feat(models): self-maintaining blob submitter labels via scheduled fetcher#289samcm wants to merge 1 commit into
samcm wants to merge 1 commit into
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
dim_block_blob_submitter.namelabel came from an externaldefault.blob_submittertable 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, scheduleddim_blob_submittertable 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 existingdim_contract_ownerpattern — and repoints the join to it (removing the unused external model).Draft because two follow-ups are needed before merge: run
make protoafter the migration applies to generatepkg/proto/clickhouse/dim_blob_submitter.*from the live table, and setDUNE_API_KEYin the deploy env for best label coverage (the script degrades gracefully without it).