Skip to content

Commit

Permalink
rename testnets
Browse files Browse the repository at this point in the history
  • Loading branch information
YaroShkvorets committed Nov 27, 2024
1 parent f922c8e commit f137c43
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/cli/src/command-helpers/abi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -346,11 +346,11 @@ const getEtherscanLikeAPIUrl = (network: string) => {
return 'https://unichain-sepolia.blockscout.com/api';
case 'lens-testnet':
return 'https://block-explorer-api.testnet.lens.dev/api';
case 'abstract-testnet':
case 'abstract-sepolia':
return 'https://block-explorer-api.testnet.abs.xyz/api';
case 'corn':
return 'https://maizenet-explorer.usecorn.com/api';
case 'corn-testnet':
case 'corn-sepolia':
return 'https://testnet-explorer.usecorn.com/api';
default:
return `https://api-${network}.etherscan.io/api`;
Expand Down Expand Up @@ -510,11 +510,11 @@ const getPublicRPCEndpoint = (network: string) => {
return 'https://sepolia.unichain.org';
case 'lens-testnet':
return 'https://api.staging.lens.zksync.dev';
case 'abstract-testnet':
case 'abstract-sepolia':
return 'https://api.testnet.abs.xyz';
case 'corn':
return 'https://maizenet-rpc.usecorn.com';
case 'corn-testnet':
case 'corn-sepolia':
return 'https://testnet-rpc.usecorn.com';
default:
throw new Error(`Unknown network: ${network}`);
Expand Down

0 comments on commit f137c43

Please sign in to comment.