Skip to content

Commit

Permalink
fix: base sepolia rpc url
Browse files Browse the repository at this point in the history
  • Loading branch information
saihaj committed Feb 21, 2024
1 parent 24216e3 commit 5d39c18
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/little-camels-drop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphprotocol/graph-cli': patch
---

fix base 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 @@ -171,6 +171,8 @@ const getEtherscanLikeAPIUrl = (network: string) => {
return `https://api.bscscan.com/api`;
case 'base-testnet':
return `https://api-goerli.basescan.org/api`;
case 'base-sepolia':
return `https://api-sepolia.basescan.org/api`;
case 'base':
return `https://api.basescan.org/api`;
case 'chapel':
Expand Down Expand Up @@ -251,6 +253,8 @@ const getPublicRPCEndpoint = (network: string) => {
return 'https://api.avax.network/ext/bc/C/rpc';
case 'base-testnet':
return 'https://goerli.base.org';
case 'base-sepolia':
return 'https://sepolia.base.org';
case 'base':
return 'https://rpc.base.org';
case 'bsc':
Expand Down

0 comments on commit 5d39c18

Please sign in to comment.