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

CLI website uses deprecated network endpoints #1753

Closed
DenisCarriere opened this issue Nov 2, 2024 · 0 comments · Fixed by #1760
Closed

CLI website uses deprecated network endpoints #1753

DenisCarriere opened this issue Nov 2, 2024 · 0 comments · Fixed by #1760
Assignees
Labels
bug Something isn't working

Comments

@DenisCarriere
Copy link
Contributor

DenisCarriere commented Nov 2, 2024

Which packages are impacted by your issue?

@graphprotocol/graph-cli

Describe the issue

CLI Website uses deprecated network endpoints which is causing CORS issue

export const NETWORK_SUBGRAPH_MAINNET =
'https://api.thegraph.com/subgraphs/name/graphprotocol/graph-network-arbitrum';
export const NETWORK_SUBGRAPH_SEPOLIA =
'https://api.thegraph.com/subgraphs/name/graphprotocol/graph-network-arbitrum-sepolia';

Reproduction

export const NETWORK_SUBGRAPH_MAINNET =
'https://api.thegraph.com/subgraphs/name/graphprotocol/graph-network-arbitrum';
export const NETWORK_SUBGRAPH_SEPOLIA =
'https://api.thegraph.com/subgraphs/name/graphprotocol/graph-network-arbitrum-sepolia';

Steps to Reproduce the Bug or Issue

  • Attempt to publish a new version of an existing Subgraph
  • Make sure Network requests for GraphQL request is successful
  • Display name & other fields should auto-populate

https://cli.thegraph.com/publish?id=QmWiivncZD2HHRKymf4ArQYQr7jRhZ6kWw2pFxD3nB8p8m&subgraphId=BEPBdCakjSNmQFLy8RiSYpjnsKYN58VxJ41uz6qQHy2p&network=arbitrum-one

Expected behavior

Successful Subgraph Metadata GraphQL request

Screenshots or Videos

image

Platform

  • Web

Subgraph Manifest

No response

Subgraph GraphQL Schema

No response

Additional context

No response

@DenisCarriere DenisCarriere added the bug Something isn't working label Nov 2, 2024
@alex-pakalniskis alex-pakalniskis moved this to 🔖 Next in Tooling Nov 4, 2024
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in Tooling Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants