Skip to content
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

Merged
merged 8 commits into from
Aug 13, 2024
Merged

Add Ethereum L1 #91

merged 8 commits into from
Aug 13, 2024

Conversation

Tburm
Copy link
Contributor

@Tburm Tburm commented Jul 30, 2024

Add ethereum mainnet indexer, extractor, and dbt models.

@Tburm Tburm requested a review from marcus-snx July 30, 2024 23:23
@Tburm Tburm added the wip Work in progress label Aug 9, 2024
@Tburm Tburm removed the request for review from marcus-snx August 9, 2024 16:13
@Tburm Tburm requested a review from marcus-snx August 12, 2024 20:18
@Tburm Tburm removed the wip Work in progress label Aug 12, 2024
Copy link
Contributor

@marcus-snx marcus-snx left a comment

Choose a reason for hiding this comment

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

LGTM!

I'll make sure to modify the Ethereum models in #97 and #98 once this is pushed to main.

{{ convert_wei('base.collateral_value') }} AS collateral_value
FROM
base
JOIN {{ ref('blocks_eth_mainnet') }} AS blocks
Copy link
Contributor

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).

Copy link
Contributor Author

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
Copy link
Contributor

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

@Tburm Tburm merged commit 4565c4d into main Aug 13, 2024
1 check passed
@Tburm Tburm deleted the add-l1 branch August 13, 2024 17:18
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.

2 participants