Skip to content

Commit c4c0590

Browse files
alinobrasil0237h
andauthored
update testnet names for abstract and corn (#1776)
* update testnet names for `abstract` and `corn` * Add changeset --------- Co-authored-by: Etienne Donneger <[email protected]>
1 parent 69c6923 commit c4c0590

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.changeset/unlucky-mugs-promise.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 testnet names for `abstract` and `corn`

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -352,11 +352,11 @@ const getEtherscanLikeAPIUrl = (network: string) => {
352352
return 'https://unichain-sepolia.blockscout.com/api';
353353
case 'lens-testnet':
354354
return 'https://block-explorer-api.testnet.lens.dev/api';
355-
case 'abstract-sepolia':
355+
case 'abstract-testnet':
356356
return 'https://block-explorer-api.testnet.abs.xyz/api';
357357
case 'corn':
358358
return 'https://maizenet-explorer.usecorn.com/api';
359-
case 'corn-sepolia':
359+
case 'corn-testnet':
360360
return 'https://testnet-explorer.usecorn.com/api';
361361
default:
362362
return `https://api-${network}.etherscan.io/api`;
@@ -516,11 +516,11 @@ const getPublicRPCEndpoint = (network: string) => {
516516
return 'https://sepolia.unichain.org';
517517
case 'lens-testnet':
518518
return 'https://api.staging.lens.zksync.dev';
519-
case 'abstract-sepolia':
519+
case 'abstract-testnet':
520520
return 'https://api.testnet.abs.xyz';
521521
case 'corn':
522522
return 'https://maizenet-rpc.usecorn.com';
523-
case 'corn-sepolia':
523+
case 'corn-testnet':
524524
return 'https://testnet-rpc.usecorn.com';
525525
default:
526526
throw new Error(`Unknown network: ${network}`);

0 commit comments

Comments
 (0)