DAT2-55/arb-balances (#390)
Some checks failed
docs_update / called_workflow_template (push) Has been cancelled
dbt_run_streamline_balances_history_temp / called_workflow_template (push) Has been cancelled

* arb balances set up

* temp history
This commit is contained in:
drethereum 2025-10-15 14:41:36 -06:00 committed by GitHub
parent 7c6e086e1c
commit 32624bb4a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 32 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, "DECODER_SL_DECODED_LOGS_REALTIME_WORKER_BATCH_SIZE":50000}'
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:records" "fsc_evm,tag:streamline,tag:balances,tag:realtime" --vars '{"STREAMLINE_INVOKE_STREAMS":True, "DECODER_SL_DECODED_LOGS_REALTIME_WORKER_BATCH_SIZE":50000}'
secrets: inherit

View File

@ -0,0 +1,22 @@
name: dbt_run_streamline_balances_history_temp
run-name: dbt_run_streamline_balances_history_temp
on:
workflow_dispatch:
branches:
- "main"
schedule:
- cron: '22 */3 * * *'
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 Models
command: |
dbt run --vars '{"STREAMLINE_INVOKE_STREAMS":True}' -m "fsc_evm,tag:streamline,tag:balances,tag:complete" "fsc_evm,tag:streamline,tag:balances,tag:records" "fsc_evm,tag:streamline,tag:balances,tag:history"
secrets: inherit

View File

@ -115,6 +115,12 @@ models:
+enabled: true
stats:
+enabled: true
balances_package:
+enabled: false
erc20:
+enabled: true
native:
+enabled: true
scores_package:
+enabled: true
# In this example config, we tell dbt to build all models in the example/ directory

View File

@ -20,6 +20,8 @@ sources:
- name: decoded_logs_v2
- name: contract_abis
- name: token_reads
- name: balances_erc20
- name: balances_native
- 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.28.2
revision: v4.28.3