File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
packages/cli/src/command-helpers Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @graphprotocol/graph-cli ' : patch
3
+ ---
4
+
5
+ Fix testnet names for ` abstract ` and ` corn `
Original file line number Diff line number Diff line change @@ -352,11 +352,11 @@ const getEtherscanLikeAPIUrl = (network: string) => {
352
352
return 'https://unichain-sepolia.blockscout.com/api' ;
353
353
case 'lens-testnet' :
354
354
return 'https://block-explorer-api.testnet.lens.dev/api' ;
355
- case 'abstract-sepolia ' :
355
+ case 'abstract-testnet ' :
356
356
return 'https://block-explorer-api.testnet.abs.xyz/api' ;
357
357
case 'corn' :
358
358
return 'https://maizenet-explorer.usecorn.com/api' ;
359
- case 'corn-sepolia ' :
359
+ case 'corn-testnet ' :
360
360
return 'https://testnet-explorer.usecorn.com/api' ;
361
361
default :
362
362
return `https://api-${ network } .etherscan.io/api` ;
@@ -516,11 +516,11 @@ const getPublicRPCEndpoint = (network: string) => {
516
516
return 'https://sepolia.unichain.org' ;
517
517
case 'lens-testnet' :
518
518
return 'https://api.staging.lens.zksync.dev' ;
519
- case 'abstract-sepolia ' :
519
+ case 'abstract-testnet ' :
520
520
return 'https://api.testnet.abs.xyz' ;
521
521
case 'corn' :
522
522
return 'https://maizenet-rpc.usecorn.com' ;
523
- case 'corn-sepolia ' :
523
+ case 'corn-testnet ' :
524
524
return 'https://testnet-rpc.usecorn.com' ;
525
525
default :
526
526
throw new Error ( `Unknown network: ${ network } ` ) ;
You can’t perform that action at this time.
0 commit comments