polygon/v/4.22.0 (#485)

* balances package

* source

* state tracer temp backfill

* workflows
This commit is contained in:
drethereum 2025-08-25 10:07:00 -06:00 committed by GitHub
parent db479177b1
commit e7f5decd3d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 26 additions and 2 deletions

View File

@ -15,5 +15,5 @@ jobs:
with:
command_name: Run Main Models
command: |
dbt run -m "fsc_evm,tag:bronze,tag:core" "fsc_evm,tag:silver,tag:core" "fsc_evm,tag:gold,tag:core" "fsc_evm,tag:silver,tag:prices" "fsc_evm,tag:gold,tag:prices" "fsc_evm,tag:silver,tag:labels" "fsc_evm,tag:gold,tag:labels" "fsc_evm,tag:streamline,tag:decoded_logs,tag:realtime" "fsc_evm,tag:streamline,tag:decoded_logs,tag:complete" "fsc_evm,tag:streamline,tag:abis,tag:realtime" "fsc_evm,tag:streamline,tag:abis,tag:complete" "fsc_evm,tag:streamline,tag:token_reads,tag:realtime" "fsc_evm,tag:streamline,tag:token_reads,tag:complete" --vars '{"STREAMLINE_INVOKE_STREAMS":True}'
dbt run -m "fsc_evm,tag:bronze,tag:core" "fsc_evm,tag:silver,tag:core" "fsc_evm,tag:gold,tag:core" "fsc_evm,tag:silver,tag:prices" "fsc_evm,tag:gold,tag:prices" "fsc_evm,tag:silver,tag:labels" "fsc_evm,tag:gold,tag:labels" "fsc_evm,tag:silver,tag:balances" "fsc_evm,tag:gold,tag:balances" "fsc_evm,tag:streamline,tag:decoded_logs,tag:realtime" "fsc_evm,tag:streamline,tag:decoded_logs,tag:complete" "fsc_evm,tag:streamline,tag:abis,tag:realtime" "fsc_evm,tag:streamline,tag:abis,tag:complete" "fsc_evm,tag:streamline,tag:token_reads,tag:realtime" "fsc_evm,tag:streamline,tag:token_reads,tag:complete" "fsc_evm,tag:streamline,tag:balances,tag:complete" "fsc_evm,tag:streamline,tag:balances,tag:realtime" --vars '{"STREAMLINE_INVOKE_STREAMS":True}'
secrets: inherit

View File

@ -0,0 +1,21 @@
name: dbt_run_streamline_balances_history_temp
run-name: dbt_run_streamline_balances_history_temp
on:
workflow_dispatch:
branches:
- "main"
schedule:
- cron: '26 */4 * * *'
concurrency:
group: ${{ github.workflow }}
jobs:
called_workflow_template:
uses: FlipsideCrypto/fsc-evm/.github/workflows/dbt_run_template.yml@main
with:
command_name: Run Balances History Temp Models
command: |
dbt run --vars '{"STREAMLINE_INVOKE_STREAMS":True, "BALANCES_SL_STATE_TRACER_HISTORY_SQL_LIMIT":500000, "BALANCES_SL_STATE_TRACER_HISTORY_PRODUCER_BATCH_SIZE":20000, "BALANCES_SL_STATE_TRACER_HISTORY_WORKER_BATCH_SIZE":2000, "BALANCES_SL_STATE_TRACER_HISTORY_ASYNC_CONCURRENT_REQUESTS":10}' -m "fsc_evm,tag:streamline,tag:balances,tag:complete" "fsc_evm,tag:streamline,tag:balances,tag:history"
secrets: inherit

View File

@ -109,6 +109,8 @@ models:
+enabled: true
dex:
+enabled: true
balances_package:
+enabled: true
scores_package:
+enabled: true

View File

@ -20,6 +20,7 @@ sources:
- name: decoded_logs_v2
- name: contract_abis
- name: token_reads
- name: state_tracer
- name: crosschain_silver
database: >-
{{ 'CROSSCHAIN_DEV' if '_DEV' in target.database.upper() else 'CROSSCHAIN' }}

View File

@ -1,3 +1,3 @@
packages:
- git: https://github.com/FlipsideCrypto/fsc-evm.git
revision: v4.20.2
revision: v4.22.0