Skip to content

Commit 031fca8

Browse files
authored
feat: arbitrum sepolia (#1489)
1 parent f5f974d commit 031fca8

File tree

4 files changed

+11
-0
lines changed

4 files changed

+11
-0
lines changed

.changeset/quick-ads-dance.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@graphprotocol/graph-cli': minor
3+
---
4+
5+
Arbitrum Sepolia support

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,8 @@ const getEtherscanLikeAPIUrl = (network: string) => {
151151
return `https://api.arbiscan.io/api`;
152152
case 'arbitrum-goerli':
153153
return `https://api-goerli.arbiscan.io/api`;
154+
case 'arbitrum-sepolia':
155+
return `https://api-sepolia.arbiscan.io/api`;
154156
case 'bsc':
155157
return `https://api.bscscan.com/api`;
156158
case 'base-testnet':
@@ -215,6 +217,8 @@ const getPublicRPCEndpoint = (network: string) => {
215217
return 'https://goerli-rollup.arbitrum.io/rpc';
216218
case 'arbitrum-one':
217219
return 'https://arb1.arbitrum.io/rpc';
220+
case 'arbitrum-sepolia':
221+
return `https://sepolia-rollup.arbitrum.io/rpc`;
218222
case 'aurora':
219223
return 'https://rpc.mainnet.aurora.dev';
220224
case 'aurora-testnet':

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export const allowedStudioNetworks = [
2323
'base',
2424
'celo',
2525
'arbitrum-one',
26+
'arbitrum-sepolia',
2627
'avalanche',
2728
'zksync-era',
2829
'zksync-era-testnet',

packages/cli/src/protocols/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ export default class Protocol {
100100
'mbase',
101101
'arbitrum-one',
102102
'arbitrum-goerli',
103+
'arbitrum-sepolia',
103104
'optimism',
104105
'optimism-goerli',
105106
'aurora',

0 commit comments

Comments
 (0)