Skip to content

Commit

Permalink
fix: opt sepolia url (#1589)
Browse files Browse the repository at this point in the history
  • Loading branch information
saihaj authored Feb 20, 2024
1 parent 6883165 commit 7f0e8ab
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 22 deletions.
5 changes: 5 additions & 0 deletions .changeset/quiet-cups-film.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphprotocol/graph-cli': patch
---

fix optimism sepolia url
4 changes: 4 additions & 0 deletions packages/cli/src/command-helpers/abi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,8 @@ const getEtherscanLikeAPIUrl = (network: string) => {
return `https://api-sepolia.etherscan.io/api`;
case 'scroll-sepolia':
return `https://api-sepolia.scrollscan.dev/api`;
case 'optimism-sepolia':
return `https://sepolia-optimism.etherscan.io/api`;
case 'scroll':
return `https://blockscout.scroll.io/api`;
case 'linea':
Expand Down Expand Up @@ -317,6 +319,8 @@ const getPublicRPCEndpoint = (network: string) => {
return 'https://linea-goerli.public.blastapi.io';
case 'blast-testnet':
return 'https://sepolia.blast.io';
case 'optimism-sepolia':
return 'https://sepolia.optimism.io';
default:
throw new Error(`Unknown network: ${network}`);
}
Expand Down
44 changes: 22 additions & 22 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7f0e8ab

Please sign in to comment.