-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Near: v1.signer users #7597
base: main
Are you sure you want to change the base?
Near: v1.signer users #7597
Conversation
dbt_subprojects/daily_spellbook/models/near/v1_signer/schema.yml
Outdated
Show resolved
Hide resolved
dbt_subprojects/daily_spellbook/models/near/v1_signer/near_v1_signer_users.sql
Outdated
Show resolved
Hide resolved
Thanks @jeff-dude - I've addressed two. Just not sure about the |
@jeff-dude - So this is now failing with
Here is the working sample query: https://dune.com/queries/4642523 Wondering if Maybe I should replace FROM {{ source('near', 'actions') }} action
JOIN {{ source('near', 'logs') }} log with FROM {{ ref('near', 'actions') }} action
JOIN {{ ref('near', 'logs') }} log Don't wanna blast your CI with any more test commits. Will await your suggestion. |
We need to add |
- name: key_version | ||
description: Version number of the signing key. | ||
|
||
- name: actions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated several known base sources.
As far as I can tell this is the first spell for near blockchain data so the standards aren't yet well defined.
This query extracts the near accountId and derivation path used for the signing contract v1.signer. It takes too long to run and should probably become an incremental strategy (although I am seeking some pointers on how best to achieve that).
Sample PoC Query: https://dune.com/queries/4642523 (also referenced comments on SQL file).
block_height
(since historical data is fixed).I think that the source naming may not be defined appropriately.
Ideally the resulting source winds up being something like
or maybe:
near_v1_signer.users
v1_signer_near.users
A possible alternative project name might be
mpc_near.users
.seeking some clarification and corrections on syntax declarations (its been a while since I made a new spell cc @jeff-dude).