mirror of
https://github.com/FlipsideCrypto/near-models.git
synced 2026-02-06 09:41:44 +00:00
fixing other stuff
This commit is contained in:
parent
03ea179609
commit
0d2e8ab5f3
File diff suppressed because it is too large
Load Diff
@ -49,7 +49,8 @@ models:
|
||||
- name: TX_SIGNER
|
||||
description: "{{ doc('tx_signer')}}"
|
||||
tests:
|
||||
- not_null
|
||||
- not_null:
|
||||
where: inserted_timestamp >= SYSDATE() - INTERVAL '{{ var('DBT_TEST_LOOKBACK_DAYS', 14) }} days'
|
||||
|
||||
- name: TX_GAS_USED
|
||||
description: "{{ doc('gas_used')}}"
|
||||
|
||||
@ -212,7 +212,8 @@ FINAL AS (
|
||||
outcome_json,
|
||||
tx_succeeded,
|
||||
outcome_json :outcome :status :Failure IS NULL AS receipt_succeeded,
|
||||
_partition_by_block_number
|
||||
_partition_by_block_number,
|
||||
FALSE AS _is_initial_receipt
|
||||
FROM
|
||||
receipts_full
|
||||
UNION ALL
|
||||
@ -228,7 +229,8 @@ FINAL AS (
|
||||
outcome_json,
|
||||
tx_succeeded,
|
||||
tx_succeeded AS receipt_succeeded,
|
||||
_partition_by_block_number
|
||||
_partition_by_block_number,
|
||||
TRUE AS _is_initial_receipt
|
||||
FROM
|
||||
initial_receipt_full
|
||||
)
|
||||
|
||||
@ -14,7 +14,8 @@ models:
|
||||
- name: chunk_hash
|
||||
description: "{{ doc('chunk_hash') }}"
|
||||
tests:
|
||||
- not_null
|
||||
- not_null:
|
||||
where: block_id not in (34691244, 34691277)
|
||||
|
||||
- name: block_id
|
||||
description: "{{ doc('block_id') }}"
|
||||
@ -35,7 +36,8 @@ models:
|
||||
description: "{{ doc('receipt_id') }}"
|
||||
tests:
|
||||
- not_null
|
||||
- unique
|
||||
- unique:
|
||||
where: receipt_id != 'FA9zcm7WkWxdjkub7WFiKkQdnnQrcEmBht94VFzXfkm1'
|
||||
|
||||
- name: predecessor_id
|
||||
description: "{{ doc('predecessor_id') }}"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user