update upon hotfix-58+

This commit is contained in:
issui 2022-06-04 16:11:27 -07:00
parent f471c67559
commit a6547d77bc
10 changed files with 18 additions and 18 deletions

View File

@ -47,7 +47,7 @@ models:
- FLOAT
- name: public_key
description: The public key of an AccessKey which was used to sign the original transaction. In case of a deposit refund, the public key is empty (all bytes are 0).
description: "{{ doc('public_key')}}"
tests:
- dbt_expectations.expect_column_values_to_be_in_type_list:
column_type_list:
@ -67,7 +67,7 @@ models:
- VARIANT
- name: allowance
description: Amount of NEAR approved for use in unadjusted format (10^24). NULL if permission is FullAccess.
description: "{{ doc('allowance')}}"
tests:
- dbt_expectations.expect_column_values_to_be_in_type_list:
column_type_list:
@ -76,7 +76,7 @@ models:
- NULL
- name: method_name
description: Name of the method(s) approved for use. NULL if permission is FullAccess.
description: "{{ doc('method_name')}}"
tests:
- dbt_expectations.expect_column_values_to_be_in_type_list:
column_type_list:
@ -86,7 +86,7 @@ models:
- NULL
- name: receiver_id
description: the account ID of the destination of this transaction. NULL if permission is FullAccess.
description: "{{ doc('receiver_id')}}"
tests:
- dbt_expectations.expect_column_values_to_be_in_type_list:
column_type_list:

View File

@ -65,7 +65,7 @@ models:
- VARCHAR
- name: deposit
description: Sum of all NEAR tokens (figure is not decimal adjusted, 10^24) transferred from the Signing account to the Receiver account.
description: "{{ doc('deposit')}}"
tests:
- dbt_expectations.expect_column_values_to_be_in_type_list:
column_type_list:
@ -73,7 +73,7 @@ models:
- FLOAT
- name: attached_gas
description: Units of gas (figure is not decimal adjusted, 10^12) attached to the transaction (this is often higher than 'Gas Used').
description: "{{ doc('attached_gas')}}"
tests:
- dbt_expectations.expect_column_values_to_be_in_type_list:
column_type_list:

View File

@ -71,7 +71,7 @@ models:
- OBJECT
- name: block_challenges_root
description: The block_challenges_root taken from block headers. TODO check this column expectation, number?
description: "{{ doc('block_challenges_root')}}"
tests:
- not_null
- dbt_expectations.expect_column_values_to_be_in_type_list:
@ -144,7 +144,7 @@ models:
- VARCHAR
- name: epoch_sync_data_hash
description: The epoch_sync_data_hash taken from block headers, if available.
description: "{{ doc('epoch_sync_data_hash')}}"
tests:
- dbt_expectations.expect_column_values_to_be_in_type_list:
column_type_list:
@ -163,7 +163,7 @@ models:
- OBJECT
- name: gas_price
description: The gas_price taken from block headers, number is not decimal adjusted.
description: "{{ doc('gas_price')}}"
tests:
- not_null
- dbt_expectations.expect_column_values_to_be_in_type_list:
@ -243,7 +243,7 @@ models:
- FLOAT
- name: prev_state_root
description: The prev_state_root taken from block headers. TODO can this be null?
description: "{{ doc('prev_state_root')}}"
tests:
- dbt_expectations.expect_column_values_to_be_in_type_list:
column_type_list:

View File

@ -58,7 +58,7 @@ models:
- VARCHAR
- name: deposit
description: Sum of all NEAR tokens transferred from the Signing account to the Receiver account. This includes tokens sent in a Transfer action(s). In raw number format, to adjust divide by POW(10,24)
description: "{{ doc('deposit')}}"
tests:
- dbt_expectations.expect_column_values_to_be_in_type_list:
column_type_list:

View File

@ -1,5 +1,5 @@
{% docs block_challenges_root %}
The block_challenges_root taken from block headers.
The block_challenges_root taken from block headers. TODO check this column expectation, number?
{% enddocs %}

View File

@ -1,5 +1,5 @@
{% docs deposit %}
Sum of all NEAR tokens (figure is not decimal adjusted, 10^24) transferred from the Signing account to the Receiver account.
Sum of all NEAR tokens transferred from the Signing account to the Receiver account. This includes tokens sent in a Transfer action(s). In raw number format, to adjust divide by POW(10,24)
{% enddocs %}

View File

@ -1,5 +1,5 @@
{% docs epoch_sync_data_hash %}
The epoch_sync_data_hash taken from block headers.
The epoch_sync_data_hash taken from block headers, if available.
{% enddocs %}

View File

@ -1,5 +1,5 @@
{% docs gas_price %}
The gas_price taken from block headers.
The gas_price taken from block headers, number is not decimal adjusted.
{% enddocs %}

View File

@ -1,5 +1,5 @@
{% docs prev_state_root %}
The prev_state_root taken from block headers.
The prev_state_root taken from block headers. TODO can this be null?
{% enddocs %}

View File

@ -15,7 +15,7 @@ models:
- TIMESTAMP_NTZ
- name: daily_gas_used
description: The total daily gas used in transactions. NOT Decimal adjusted; gas units (10^-12 Tgas)
description: "{{ doc('daily_gas_used')}}"
tests:
- not_null
- dbt_expectations.expect_column_values_to_be_in_type_list:
@ -24,7 +24,7 @@ models:
- FLOAT
- name: avg_gas_price
description: The average gas price in transactions. NOT Decimal adjusted; units in yoctoNEAR (10^-24 NEAR)
description: "{{ doc('avg_gas_price')}}"
tests:
- not_null
- dbt_expectations.expect_column_values_to_be_in_type_list: