From bb7d51c2789d97fdfdbc9f09ebd6b485d894c477 Mon Sep 17 00:00:00 2001 From: drethereum Date: Tue, 5 Nov 2024 13:22:13 -0700 Subject: [PATCH] column names --- .../gold/tests/blocks/test_gold__fact_blocks_full.yml | 4 ++-- .../gold/tests/blocks/test_gold__fact_blocks_recent.yml | 4 ++-- .../transactions/test_gold__fact_transactions_full.yml | 8 ++++---- .../transactions/test_gold__fact_transactions_recent.yml | 8 ++++---- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/models/main_package/core/gold/tests/blocks/test_gold__fact_blocks_full.yml b/models/main_package/core/gold/tests/blocks/test_gold__fact_blocks_full.yml index 72a7fd29..912da160 100644 --- a/models/main_package/core/gold/tests/blocks/test_gold__fact_blocks_full.yml +++ b/models/main_package/core/gold/tests/blocks/test_gold__fact_blocks_full.yml @@ -80,7 +80,7 @@ models: - NUMBER - FLOAT - name: >- - {{ 'BASE_FEE_PER_GAS' if var('GLOBAL_USES_BASE_FEE', true) else '' }} + {{ 'BASE_FEE_PER_GAS' if var('GLOBAL_USES_BASE_FEE', true) else '0' }} tests: - not_null: enabled: "{{ var('GLOBAL_USES_BASE_FEE', true) }}" @@ -90,7 +90,7 @@ models: - NUMBER - FLOAT - name: >- - {{ 'MIX_HASH' if var('GLOBAL_USES_MIX_HASH', false) else '' }} + {{ 'MIX_HASH' if var('GLOBAL_USES_MIX_HASH', false) else '1' }} tests: - not_null: enabled: "{{ var('GLOBAL_USES_MIX_HASH', false) }}" diff --git a/models/main_package/core/gold/tests/blocks/test_gold__fact_blocks_recent.yml b/models/main_package/core/gold/tests/blocks/test_gold__fact_blocks_recent.yml index f440e9f2..5919ef9c 100644 --- a/models/main_package/core/gold/tests/blocks/test_gold__fact_blocks_recent.yml +++ b/models/main_package/core/gold/tests/blocks/test_gold__fact_blocks_recent.yml @@ -82,7 +82,7 @@ models: - NUMBER - FLOAT - name: >- - {{ 'BASE_FEE_PER_GAS' if var('GLOBAL_USES_BASE_FEE', true) else '' }} + {{ 'BASE_FEE_PER_GAS' if var('GLOBAL_USES_BASE_FEE', true) else '0' }} tests: - not_null: enabled: "{{ var('GLOBAL_USES_BASE_FEE', true) }}" @@ -92,7 +92,7 @@ models: - NUMBER - FLOAT - name: >- - {{ 'MIX_HASH' if var('GLOBAL_USES_MIX_HASH', false) else '' }} + {{ 'MIX_HASH' if var('GLOBAL_USES_MIX_HASH', false) else '1' }} tests: - not_null: enabled: "{{ var('GLOBAL_USES_MIX_HASH', false) }}" diff --git a/models/main_package/core/gold/tests/transactions/test_gold__fact_transactions_full.yml b/models/main_package/core/gold/tests/transactions/test_gold__fact_transactions_full.yml index a7550f9e..1f810e6b 100644 --- a/models/main_package/core/gold/tests/transactions/test_gold__fact_transactions_full.yml +++ b/models/main_package/core/gold/tests/transactions/test_gold__fact_transactions_full.yml @@ -114,19 +114,19 @@ models: tests: - not_null - name: >- - {{ 'L1_FEE' if var('GLOBAL_USES_L1_COLUMNS', false) else '' }} + {{ 'L1_FEE' if var('GLOBAL_USES_L1_COLUMNS', false) else '0' }} tests: - not_null - name: >- - {{ 'L1_FEE_SCALAR' if var('GLOBAL_USES_L1_COLUMNS', false) else '' }} + {{ 'L1_FEE_SCALAR' if var('GLOBAL_USES_L1_COLUMNS', false) else '1' }} tests: - not_null - name: >- - {{ 'L1_GAS_PRICE' if var('GLOBAL_USES_L1_COLUMNS', false) else '' }} + {{ 'L1_GAS_PRICE' if var('GLOBAL_USES_L1_COLUMNS', false) else '2' }} tests: - not_null - name: >- - {{ 'L1_GAS_USED' if var('GLOBAL_USES_L1_COLUMNS', false) else '' }} + {{ 'L1_GAS_USED' if var('GLOBAL_USES_L1_COLUMNS', false) else '3' }} tests: - not_null - name: FACT_TRANSACTIONS_ID diff --git a/models/main_package/core/gold/tests/transactions/test_gold__fact_transactions_recent.yml b/models/main_package/core/gold/tests/transactions/test_gold__fact_transactions_recent.yml index 36cfd8e0..555f2c51 100644 --- a/models/main_package/core/gold/tests/transactions/test_gold__fact_transactions_recent.yml +++ b/models/main_package/core/gold/tests/transactions/test_gold__fact_transactions_recent.yml @@ -113,19 +113,19 @@ models: tests: - not_null - name: >- - {{ 'L1_FEE' if var('GLOBAL_USES_L1_COLUMNS', false) else '' }} + {{ 'L1_FEE' if var('GLOBAL_USES_L1_COLUMNS', false) else '0' }} tests: - not_null - name: >- - {{ 'L1_FEE_SCALAR' if var('GLOBAL_USES_L1_COLUMNS', false) else '' }} + {{ 'L1_FEE_SCALAR' if var('GLOBAL_USES_L1_COLUMNS', false) else '1' }} tests: - not_null - name: >- - {{ 'L1_GAS_PRICE' if var('GLOBAL_USES_L1_COLUMNS', false) else '' }} + {{ 'L1_GAS_PRICE' if var('GLOBAL_USES_L1_COLUMNS', false) else '2' }} tests: - not_null - name: >- - {{ 'L1_GAS_USED' if var('GLOBAL_USES_L1_COLUMNS', false) else '' }} + {{ 'L1_GAS_USED' if var('GLOBAL_USES_L1_COLUMNS', false) else '3' }} tests: - not_null - name: FACT_TRANSACTIONS_ID