mirror of
https://github.com/FlipsideCrypto/solana-models.git
synced 2026-02-06 15:07:01 +00:00
add pubkey col (#695)
This commit is contained in:
parent
e4de79882d
commit
51e5ed69eb
@ -9,7 +9,8 @@
|
||||
SELECT
|
||||
block_timestamp,
|
||||
block_id,
|
||||
vote_pubkey,
|
||||
vote_pubkey, --todo: remove by 2024-12-03
|
||||
vote_pubkey as pubkey,
|
||||
epoch_earned,
|
||||
reward_amount_sol,
|
||||
post_balance_sol,
|
||||
@ -25,7 +26,8 @@ UNION ALL
|
||||
SELECT
|
||||
block_timestamp,
|
||||
block_id,
|
||||
vote_pubkey,
|
||||
vote_pubkey, --todo: remove by 2024-12-03
|
||||
vote_pubkey as pubkey,
|
||||
epoch_earned,
|
||||
reward_amount_sol,
|
||||
post_balance_sol,
|
||||
|
||||
@ -20,7 +20,11 @@ models:
|
||||
tests:
|
||||
- dbt_expectations.expect_column_to_exist
|
||||
- name: VOTE_PUBKEY
|
||||
description: "{{ doc('vote_pubkey') }}"
|
||||
description: "DEPRECATING SOON: Column will be removed by 2024-12-03. Please use PUBKEY, as this new naming more accurately defines all addresses receiving rewards."
|
||||
tests:
|
||||
- dbt_expectations.expect_column_to_exist
|
||||
- name: PUBKEY
|
||||
description: "The address receiving the fee rewards"
|
||||
tests:
|
||||
- dbt_expectations.expect_column_to_exist
|
||||
- name: EPOCH_EARNED
|
||||
|
||||
Loading…
Reference in New Issue
Block a user