diff --git a/models/core/core__fact_blocks.yml b/models/core/core__fact_blocks.yml index c348dc3..e546e93 100644 --- a/models/core/core__fact_blocks.yml +++ b/models/core/core__fact_blocks.yml @@ -6,10 +6,7 @@ models: tests: - sequence_gaps: column_name: block_height - where: BLOCK_TIMESTAMP < CURRENT_DATE - config: - severity: warn - error_if: "> 500" + where: BLOCK_TIMESTAMP::DATE < CURRENT_DATE columns: - name: BLOCK_HEIGHT diff --git a/models/core/core__fact_transactions.yml b/models/core/core__fact_transactions.yml index e0d5caf..01b0670 100644 --- a/models/core/core__fact_transactions.yml +++ b/models/core/core__fact_transactions.yml @@ -19,10 +19,7 @@ models: - tx_gaps: column_block: block_height column_tx_count: tx_count - where: BLOCK_TIMESTAMP < CURRENT_DATE - config: - severity: warn - error_if: "> 5000" + where: BLOCK_TIMESTAMP::DATE < CURRENT_DATE - name: BLOCK_TIMESTAMP description: "{{ doc('block_timestamp') }}" diff --git a/tests/tests__block_timestamp_order.sql b/tests/tests__block_timestamp_order.sql index 2802d8e..da3dacb 100644 --- a/tests/tests__block_timestamp_order.sql +++ b/tests/tests__block_timestamp_order.sql @@ -1,6 +1,7 @@ {{ config( severity = "warn", - error_if = ">100" + error_if = ">100", + enabled = False ) }} SELECT