mirror of
https://github.com/FlipsideCrypto/terra-models.git
synced 2026-02-06 11:26:44 +00:00
update seq gaps
This commit is contained in:
parent
86067e1117
commit
8a06e2c95a
@ -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 }},
|
||||
|
||||
@ -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
|
||||
|
||||
6
models/descriptions/fee.md
Normal file
6
models/descriptions/fee.md
Normal file
@ -0,0 +1,6 @@
|
||||
|
||||
{% docs fee %}
|
||||
|
||||
The transaction fee attached to the transaction, decimal adjusted.
|
||||
|
||||
{% enddocs %}
|
||||
Loading…
Reference in New Issue
Block a user