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

Switch subgraph URLs to decentralized network #58

Merged
merged 1 commit into from
Jun 10, 2024
Merged

Conversation

0xAurelius
Copy link
Contributor

DO NOT MERGE UNTIL ALL SUBGRAPHS ARE UPGRADED!

import os

GRAPH_API_KEY = os.environ.get('GRAPH_API_KEY')
GRAPH_BASE_URL = f'https://gateway-arbitrum.network.thegraph.com/api/{GRAPH_API_KEY}/subgraphs/id/'
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should you not be using this in the production configuration?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes we will, this is still a draft

@0xAurelius 0xAurelius force-pushed the migrate-subgraphs branch 2 times, most recently from 5854b30 to 684cdbb Compare June 5, 2024 21:01
@0xAurelius 0xAurelius marked this pull request as ready for review June 5, 2024 21:11
@0xAurelius 0xAurelius requested a review from biwano June 5, 2024 21:11
CARBON_HOLDERS_SG_ID = 'DAd5YXDcVuHtYYAcqViqWDqE1hSRCrVULvcBWQHojCxD'
PAIRS_SG_ID = 'Fd2ydz1RopNrgtH9eoHeVrsCPjg7ACWxyLKJKSVeHjW6'

if os.environ.get('ENV') == 'production':
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is that environment variable set?

@0xAurelius
Copy link
Contributor Author

0xAurelius commented Jun 6, 2024 via email

@biwano biwano self-requested a review June 8, 2024 08:40
@0xAurelius 0xAurelius merged commit e16fa67 into main Jun 10, 2024
4 checks passed
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