Skip to content

AN-5424/Gold Defi -> Tables #461

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

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft

AN-5424/Gold Defi -> Tables #461

wants to merge 7 commits into from

Conversation

forgxyz
Copy link
Collaborator

@forgxyz forgxyz commented May 6, 2025

No description provided.

@forgxyz forgxyz marked this pull request as draft May 6, 2025 22:53
@forgxyz forgxyz marked this pull request as ready for review May 7, 2025 18:57
SELECT
MIN(DATE_TRUNC('day', block_timestamp)) AS block_timestamp_day
FROM
{{ ref('fact_bridge_activity') }}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

consider adding a check on price updates to find the earliest block timestamp or hour from prices

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wdym?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was related that whole conversation we had about - how much autohealing we want to do with when prices are backfilled. Could do a UNION ALL with the min(hour) from ez prices where the mod ts > the current mod ts to get the earliest block timestamp we want to rerun. (Also maybe put the hard limit on 7 days or something like that from prices)

@forgxyz forgxyz marked this pull request as draft May 14, 2025 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants