mirror of
https://github.com/FlipsideCrypto/near-models.git
synced 2026-02-06 11:47:00 +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
|
- name: TX_SIGNER
|
||||||
description: "{{ doc('tx_signer')}}"
|
description: "{{ doc('tx_signer')}}"
|
||||||
tests:
|
tests:
|
||||||
- not_null
|
- not_null:
|
||||||
|
where: inserted_timestamp >= SYSDATE() - INTERVAL '{{ var('DBT_TEST_LOOKBACK_DAYS', 14) }} days'
|
||||||
|
|
||||||
- name: TX_GAS_USED
|
- name: TX_GAS_USED
|
||||||
description: "{{ doc('gas_used')}}"
|
description: "{{ doc('gas_used')}}"
|
||||||
|
|||||||
@ -212,7 +212,8 @@ FINAL AS (
|
|||||||
outcome_json,
|
outcome_json,
|
||||||
tx_succeeded,
|
tx_succeeded,
|
||||||
outcome_json :outcome :status :Failure IS NULL AS receipt_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
|
FROM
|
||||||
receipts_full
|
receipts_full
|
||||||
UNION ALL
|
UNION ALL
|
||||||
@ -228,7 +229,8 @@ FINAL AS (
|
|||||||
outcome_json,
|
outcome_json,
|
||||||
tx_succeeded,
|
tx_succeeded,
|
||||||
tx_succeeded AS receipt_succeeded,
|
tx_succeeded AS receipt_succeeded,
|
||||||
_partition_by_block_number
|
_partition_by_block_number,
|
||||||
|
TRUE AS _is_initial_receipt
|
||||||
FROM
|
FROM
|
||||||
initial_receipt_full
|
initial_receipt_full
|
||||||
)
|
)
|
||||||
|
|||||||
@ -14,7 +14,8 @@ models:
|
|||||||
- name: chunk_hash
|
- name: chunk_hash
|
||||||
description: "{{ doc('chunk_hash') }}"
|
description: "{{ doc('chunk_hash') }}"
|
||||||
tests:
|
tests:
|
||||||
- not_null
|
- not_null:
|
||||||
|
where: block_id not in (34691244, 34691277)
|
||||||
|
|
||||||
- name: block_id
|
- name: block_id
|
||||||
description: "{{ doc('block_id') }}"
|
description: "{{ doc('block_id') }}"
|
||||||
@ -35,7 +36,8 @@ models:
|
|||||||
description: "{{ doc('receipt_id') }}"
|
description: "{{ doc('receipt_id') }}"
|
||||||
tests:
|
tests:
|
||||||
- not_null
|
- not_null
|
||||||
- unique
|
- unique:
|
||||||
|
where: receipt_id != 'FA9zcm7WkWxdjkub7WFiKkQdnnQrcEmBht94VFzXfkm1'
|
||||||
|
|
||||||
- name: predecessor_id
|
- name: predecessor_id
|
||||||
description: "{{ doc('predecessor_id') }}"
|
description: "{{ doc('predecessor_id') }}"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user