diff --git a/.github/workflows/dbt_run_scheduled_main.yml b/.github/workflows/dbt_run_scheduled_main.yml index cd07b09..1ce2a0d 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" --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 \ 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..a341b0c --- /dev/null +++ b/.github/workflows/dbt_run_streamline_balances_history_temp.yml @@ -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 \ No newline at end of file diff --git a/dbt_project.yml b/dbt_project.yml index b8227a0..af7f614 100644 --- a/dbt_project.yml +++ b/dbt_project.yml @@ -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 diff --git a/models/sources.yml b/models/sources.yml index b378902..67ea26e 100644 --- a/models/sources.yml +++ b/models/sources.yml @@ -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' }} diff --git a/packages.yml b/packages.yml index a284056..f6e2520 100644 --- a/packages.yml +++ b/packages.yml @@ -1,3 +1,3 @@ packages: - git: https://github.com/FlipsideCrypto/fsc-evm.git - revision: v4.28.2 + revision: v4.28.3