mirror of
https://github.com/FlipsideCrypto/polygon-models.git
synced 2026-02-06 14:11:55 +00:00
Merge branch 'main' into AN-6419/fsc-evm-lending-consolidation
This commit is contained in:
commit
34e687577e
2
.github/workflows/dbt_run_scheduled_main.yml
vendored
2
.github/workflows/dbt_run_scheduled_main.yml
vendored
@ -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:records" "fsc_evm,tag:streamline,tag:balances,tag:realtime" --vars '{"STREAMLINE_INVOKE_STREAMS":True}'
|
||||
secrets: inherit
|
||||
21
.github/workflows/dbt_run_streamline_balances_history_temp.yml
vendored
Normal file
21
.github/workflows/dbt_run_streamline_balances_history_temp.yml
vendored
Normal 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 */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 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
|
||||
2
.github/workflows/dbt_test_daily.yml
vendored
2
.github/workflows/dbt_test_daily.yml
vendored
@ -19,5 +19,5 @@ jobs:
|
||||
dbt run -m "fsc_evm,tag:daily_test"
|
||||
command_name_2: Run Daily Tests (all tests excluding full, recent and misc. others)
|
||||
command_2: |
|
||||
dbt test --exclude "fsc_evm,tag:full_test" "fsc_evm,tag:recent_test" "fsc_evm,tag:gha_tasks" "fsc_evm,tag:observability" livequery_models
|
||||
dbt test --exclude "fsc_evm,tag:full_test" "fsc_evm,tag:recent_test" "fsc_evm,tag:gha_tasks" "fsc_evm,tag:observability" livequery_models --exclude "fsc_evm,tag:balances"
|
||||
secrets: inherit
|
||||
2
.github/workflows/dbt_test_intraday.yml
vendored
2
.github/workflows/dbt_test_intraday.yml
vendored
@ -17,5 +17,5 @@ jobs:
|
||||
command_name: Run Observability & Recent Tests
|
||||
command: |
|
||||
dbt run -m "fsc_evm,tag:observability"
|
||||
dbt test -m "fsc_evm,tag:recent_test" "fsc_evm,tag:observability"
|
||||
dbt test -m "fsc_evm,tag:recent_test" "fsc_evm,tag:observability" --exclude "fsc_evm,tag:balances"
|
||||
secrets: inherit
|
||||
@ -1,3 +1,7 @@
|
||||
block_number
|
||||
31697306
|
||||
31697810
|
||||
31697810
|
||||
74593456
|
||||
74593760
|
||||
74595296
|
||||
74595472
|
||||
|
@ -111,6 +111,12 @@ models:
|
||||
+enabled: true
|
||||
lending:
|
||||
+enabled: true
|
||||
balances_package:
|
||||
+enabled: false
|
||||
erc20:
|
||||
+enabled: true
|
||||
native:
|
||||
+enabled: true
|
||||
scores_package:
|
||||
+enabled: true
|
||||
|
||||
|
||||
@ -43,8 +43,6 @@ WITH polymarket_orders AS(
|
||||
LOWER('0x4bfb41d5b3570defd03c39a9a4d8de6bd8b8982e'),
|
||||
LOWER('0xC5d563A36AE78145C45a50134d48A1215220f80a')
|
||||
)
|
||||
AND
|
||||
origin_function_signature IN ('0xe60f0c05', '0xd2539b37')
|
||||
|
||||
{% if is_incremental() %}
|
||||
AND _inserted_timestamp >= (
|
||||
|
||||
@ -20,6 +20,9 @@ sources:
|
||||
- name: decoded_logs_v2
|
||||
- name: contract_abis
|
||||
- name: token_reads
|
||||
- name: balances_erc20
|
||||
- name: balances_native
|
||||
- name: state_tracer
|
||||
- name: crosschain_silver
|
||||
database: >-
|
||||
{{ 'CROSSCHAIN_DEV' if '_DEV' in target.database.upper() else 'CROSSCHAIN' }}
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
packages:
|
||||
- git: https://github.com/FlipsideCrypto/fsc-evm.git
|
||||
revision: v4.20.2
|
||||
revision: v4.24.3
|
||||
|
||||
Loading…
Reference in New Issue
Block a user