From 470316503b702335749ba91d9c0ba0384f681f8d Mon Sep 17 00:00:00 2001 From: drethereum Date: Tue, 9 Sep 2025 09:08:46 -0600 Subject: [PATCH 1/3] bob balances --- .github/workflows/dbt_run_scheduled_main.yml | 2 +- ...t_run_streamline_balances_history_temp.yml | 21 +++++++++++++++++++ dbt_project.yml | 6 ++++++ models/sources.yml | 2 ++ packages.yml | 2 +- 5 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/dbt_run_streamline_balances_history_temp.yml diff --git a/.github/workflows/dbt_run_scheduled_main.yml b/.github/workflows/dbt_run_scheduled_main.yml index 26d472c..9a159c1 100644 --- a/.github/workflows/dbt_run_scheduled_main.yml +++ b/.github/workflows/dbt_run_scheduled_main.yml @@ -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" --exclude "fsc_evm,tag:receipts_by_hash" --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:records" "fsc_evm,tag:streamline,tag:balances,tag:realtime" --exclude "fsc_evm,tag:receipts_by_hash" --vars '{"STREAMLINE_INVOKE_STREAMS":True}' secrets: inherit \ No newline at end of file diff --git a/.github/workflows/dbt_run_streamline_balances_history_temp.yml b/.github/workflows/dbt_run_streamline_balances_history_temp.yml new file mode 100644 index 0000000..cc9826e --- /dev/null +++ b/.github/workflows/dbt_run_streamline_balances_history_temp.yml @@ -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: '52 */5 * * *' + +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}' -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 \ No newline at end of file diff --git a/dbt_project.yml b/dbt_project.yml index 4a3cc66..b0fa77d 100644 --- a/dbt_project.yml +++ b/dbt_project.yml @@ -118,6 +118,12 @@ models: +enabled: false stats: +enabled: true + balances_package: + +enabled: false + erc20: + +enabled: true + native: + +enabled: true scores_package: +enabled: true diff --git a/models/sources.yml b/models/sources.yml index 937466d..37c5cc3 100644 --- a/models/sources.yml +++ b/models/sources.yml @@ -15,6 +15,8 @@ sources: - name: decoded_logs - 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' }} diff --git a/packages.yml b/packages.yml index fc30c5f..ae3734c 100644 --- a/packages.yml +++ b/packages.yml @@ -1,3 +1,3 @@ packages: - git: https://github.com/FlipsideCrypto/fsc-evm.git - revision: v4.23.2 \ No newline at end of file + revision: v4.24.2 \ No newline at end of file From 2e644d0d395afc319f4a5db68ae13a47c245899f Mon Sep 17 00:00:00 2001 From: drethereum Date: Tue, 9 Sep 2025 09:10:24 -0600 Subject: [PATCH 2/3] v4.24.3 --- packages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages.yml b/packages.yml index ae3734c..af01736 100644 --- a/packages.yml +++ b/packages.yml @@ -1,3 +1,3 @@ packages: - git: https://github.com/FlipsideCrypto/fsc-evm.git - revision: v4.24.2 \ No newline at end of file + revision: v4.24.3 \ No newline at end of file From 2c7fb01c3b595df6c34b4e01ded14c0c03c659c6 Mon Sep 17 00:00:00 2001 From: drethereum Date: Wed, 10 Sep 2025 10:30:42 -0600 Subject: [PATCH 3/3] package --- ...t_run_streamline_balances_history_temp.yml | 21 ------------------- packages.yml | 2 +- 2 files changed, 1 insertion(+), 22 deletions(-) delete mode 100644 .github/workflows/dbt_run_streamline_balances_history_temp.yml diff --git a/.github/workflows/dbt_run_streamline_balances_history_temp.yml b/.github/workflows/dbt_run_streamline_balances_history_temp.yml deleted file mode 100644 index cc9826e..0000000 --- a/.github/workflows/dbt_run_streamline_balances_history_temp.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: dbt_run_streamline_balances_history_temp -run-name: dbt_run_streamline_balances_history_temp - -on: - workflow_dispatch: - branches: - - "main" - schedule: - - cron: '52 */5 * * *' - -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}' -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 \ No newline at end of file diff --git a/packages.yml b/packages.yml index af01736..5baba5f 100644 --- a/packages.yml +++ b/packages.yml @@ -1,3 +1,3 @@ packages: - git: https://github.com/FlipsideCrypto/fsc-evm.git - revision: v4.24.3 \ No newline at end of file + revision: v4.24.4 \ No newline at end of file