update seq gaps

This commit is contained in:
Jack Forgash 2022-09-26 09:26:22 -06:00
parent 86067e1117
commit 8a06e2c95a
3 changed files with 12 additions and 1 deletions

View File

@ -7,6 +7,7 @@
{%- set previous_column = "prev_" ~ column_name -%}
WITH source AS (
SELECT
block_timestamp,
{{ partition_sql + "," if partition_sql }}
{{ column_name }},
LAG(
@ -21,6 +22,7 @@ WITH source AS (
{{ model }}
)
SELECT
block_timestamp,
{{ partition_sql + "," if partition_sql }}
{{ previous_column }},
{{ column_name }},

View File

@ -11,7 +11,10 @@ SELECT
authorizer_public_key,
tx_sender,
gas_limit,
fee_raw,
fee_raw / pow(
10,
6
) AS fee,
fee_denom,
memo,
tx

View File

@ -0,0 +1,6 @@
{% docs fee %}
The transaction fee attached to the transaction, decimal adjusted.
{% enddocs %}