Repository navigation
Conversation
Goerli raw data stopped at block 10666680 on 2024-03-18, but three spell lineages still rebuild over it: tokens_goerli.transfers_from_traces (and its _base and _base_wrapper_deposits models) merges hourly, inscription_goerli.all merges daily, and labels.contract_deployers_goerli is rebuilt with CTAS. Remove these models and drop Goerli from the inscription, contract deployer, and transfers_from_traces unions. Amp-Thread-ID: https://ampcode.com/threads/T-01a212a2-92bc-7427-ba30-9d737f4e5365 Co-authored-by: Amp <amp@ampcode.com>
Member
Author
|
@claude review |
Goerli is being removed from every Dune surface. Delete the static tokens_goerli transfers models, the goerli, gnosis_safe_goerli and zora_goerli sources and the Goerli output sources. Drop Goerli from evms_info, evms_non_app_method_ids, the testnet chain macro, prices_native_tokens, the first_funded_by seed, the source and doc generator chain lists, and the schema blockchain metadata.
jeff-dude
marked this pull request as ready for review
November 25, 2026 20:00
This branch has not been deployed
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.
Removes Goerli from Spellbook. Goerli raw data ended on 2024-03-18 (block 10666680).
First commit: stops the three Goerli lineages that still rebuild on every prod run. Second commit: removes every remaining Goerli model, source and chain-list entry.
What & why
Delta history on Dune shows these still run:
tokens_goerli.transfers_from_traces(+_base,_base_wrapper_deposits): 336 MERGEs in the last 14 days, so hourly.inscription_goerli.all: 14 MERGEs in 14 days, so daily.mintsanddeploysare built from it.labels.contract_deployers_goerli: rebuilt with CTAS on 2026-11-25.#9712 kept
labels_contract_deployers_goerliand left thetokens_goerli_*models because the static ones are dormant. The threetransfers_from_tracesmodels are not taggedstatic, so they are not dormant.Impact
tokensanddaily_spellbook, plus their schema entries.inscription.all/mints/deploys,labels.contract_deployers,tokens.transfers_from_traces(viatransfers_from_traces_exposed_blockchains_macro). Their Goerli rows go away on the next rebuild.tokens_goerli_transfers/tokens_goerli_base_transfersmodelsgoerli,gnosis_safe_goerliandzora_goerlisources, plus thetokens_goerliandaddresses_events_goerlioutput sourcesgoerlirows inevms_info(evms.info),evms_non_app_method_ids,prices_native_tokensand thefirst_funded_byseedall_evm_testnet_chains(), which now returns[]; its only caller is the staticevm_smart_account_method_idsgoerlientries in schema metadatachain_info_chain_ids(a general chainlist reference, not Dune coverage),optimism_goerliinevms_info(a different chain), thegeth-goerli-ethmainnet token and NFT names containing "goerli".goerlischema and the existing Goerli output tables on Dune. Dropping them is a separate, approved step.tokens.transfers_from_tracesis a view that cadence never rebuilds, so redeploy it (run --select tokens_transfers_from_traces) before anyone drops thetokens_goerlitables.Tested
uv run dbt parsepasses intokens,daily_spellbook,hourly_spellbook,dexandsolana.uv run dbt compileoftokens_transfers_from_traces,inscription_all/mints/deploys, andlabels_contract_deployerspasses; compiled SQL has no Goerli reference.