Skip to content

Commit 5d39c18

Browse files
committed
fix: base sepolia rpc url
1 parent 24216e3 commit 5d39c18

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.changeset/little-camels-drop.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@graphprotocol/graph-cli': patch
3+
---
4+
5+
fix base sepolia url

packages/cli/src/command-helpers/abi.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,8 @@ const getEtherscanLikeAPIUrl = (network: string) => {
171171
return `https://api.bscscan.com/api`;
172172
case 'base-testnet':
173173
return `https://api-goerli.basescan.org/api`;
174+
case 'base-sepolia':
175+
return `https://api-sepolia.basescan.org/api`;
174176
case 'base':
175177
return `https://api.basescan.org/api`;
176178
case 'chapel':
@@ -251,6 +253,8 @@ const getPublicRPCEndpoint = (network: string) => {
251253
return 'https://api.avax.network/ext/bc/C/rpc';
252254
case 'base-testnet':
253255
return 'https://goerli.base.org';
256+
case 'base-sepolia':
257+
return 'https://sepolia.base.org';
254258
case 'base':
255259
return 'https://rpc.base.org';
256260
case 'bsc':

0 commit comments

Comments
 (0)