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

feat: use epoch block oracle subgraph for supported networks #17

Merged
merged 3 commits into from May 16, 2024

Conversation

Maikol
Copy link
Member

@Maikol Maikol commented Apr 19, 2024

Overview

Based on changes proposed in PR #255 we will be able to use the Epoch Block Oracle Subgraph to get the list of supported networks instead of passing the list as a configuration parameter.

Dependencies

This PR is dependent on the approval, merge and publish of PR #255. The changes here should only be merged after PR #255 is successfully integrated and the updates are available.

@Maikol Maikol force-pushed the mde/use-ebo-subgraph-for-supported-networks branch from 73e037a to 8389340 Compare April 22, 2024 14:17
@Maikol Maikol requested review from pcarranzav and tmigone May 10, 2024 13:17
@@ -11,6 +11,9 @@ FLAGS:
-V, --version Prints version information

OPTIONS:
--epoch-block-oracle-subgraph <subgraph>
Graphql endpoint to the epoch block oracle subgraph used for fetching supported networks [env: EPOCH_BLOCK_ORACLE_SUBGRAPH=]
Copy link
Contributor

Choose a reason for hiding this comment

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

should we provide the arbitrum subgraph as default since we don't expect this to change?

Copy link
Member Author

Choose a reason for hiding this comment

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

We'll have to switch to the network so you'll need to provide an apiKey we could separate the parameters for url and apiKey but you'll still need to set it up for testnet too.

@Maikol Maikol requested review from LNSD and Theodus May 10, 2024 18:12
@Maikol Maikol merged commit e3e7e49 into main May 16, 2024
4 checks passed
@Maikol Maikol deleted the mde/use-ebo-subgraph-for-supported-networks branch May 16, 2024 13:06
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.

None yet

2 participants