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

update polygon chainlink feeds #163

Merged

Conversation

cheungringo
Copy link
Contributor

@cheungringo cheungringo commented Jul 12, 2023

The contract_address field in dags/resources/stages/parse/table_definitions/chainlink/view_AccessControlledOffchainAggregator_info.sql gets updated frequently so we need to continually update the value here otherwise the AnswerUpdated events will not produce any values since they're pointing to outdated chainlink feeds.

I wrote a script to get the most fresh aggregator feed from on-chain which has lives values

@daishuai323 daishuai323 merged commit 866aeea into blockchain-etl:main Jul 13, 2023
2 of 3 checks passed
@daishuai323
Copy link
Collaborator

daishuai323 commented Jul 13, 2023

@cheungringo Reverted this PR coz there shows dependency error in the pipeline from the PR. Tables with dependencies needs to be merged in order. Could you pls create one PR for view_AccessControlledOffchainAggregator_info.sql and one PR for AccessControlledOffchainAggregator_event_AnswerUpdated.json (coz this table depends on the former table)? And I would merge them in order. Thanks!

@medvedev1088
Copy link
Member

@cheungringo @daishuai323 currently it's not possible to set a dependency on a view from a table definition. @cheungringo please ignore the comment above, we'll need to first make some improvements in the framework to allow this use case

@medvedev1088 medvedev1088 mentioned this pull request Jul 13, 2023
@medvedev1088
Copy link
Member

@cheungringo this has been deployed, please check

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