-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add Ethereum L1 #91
Add Ethereum L1 #91
Conversation
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.
{{ convert_wei('base.collateral_value') }} AS collateral_value | ||
FROM | ||
base | ||
JOIN {{ ref('blocks_eth_mainnet') }} AS blocks |
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.
This JOIN should be changed to one only on the extractor blocks from the source table.
But I can do it in the PR which fixes this for existing chains (see #97).
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.
Sounds good, I'll merge this one and wait for those updated before we merge #97, then deploy it all at once.
{{ convert_wei('base.debt') }} AS debt | ||
FROM | ||
base | ||
JOIN {{ ref('blocks_eth_mainnet') }} AS blocks |
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.
Same as core_vault_collateral_eth_mainnet
, will modify this in the other PR
Add ethereum mainnet indexer, extractor, and dbt models.