Minor test fixes (#93)

* threshold for gaps

* transfers
This commit is contained in:
Jack Forgash 2022-12-02 13:08:25 -07:00 committed by GitHub
parent 791aeba098
commit c1d8aabc39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 1 deletions

View File

@ -15,4 +15,7 @@ SELECT
FROM
{{ ref('silver__token_transfers') }}
WHERE
token_contract != 'A.c38aea683c0c4d38.ZelosAccountingToken'
token_contract NOT IN (
'A.c38aea683c0c4d38.ZelosAccountingToken',
'A.f1b97c06745f37ad.SwapPair'
)

View File

@ -7,6 +7,9 @@ models:
- sequence_gaps:
column_name: block_height
where: BLOCK_TIMESTAMP < CURRENT_DATE
config:
severity: warn
error_if: "> 500"
columns:
- name: BLOCK_HEIGHT

View File

@ -20,6 +20,9 @@ models:
column_block: block_height
column_tx_count: tx_count
where: BLOCK_TIMESTAMP < CURRENT_DATE
config:
severity: warn
error_if: "> 5000"
- name: BLOCK_TIMESTAMP
description: "{{ doc('block_timestamp') }}"