Skip to content

Commit

Permalink
Revert "block explorers and public rpcs for new chains (#1772)" (#1773)
Browse files Browse the repository at this point in the history
This reverts commit d43b219.
  • Loading branch information
0237h authored Nov 26, 2024
1 parent d43b219 commit 51453c2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
5 changes: 0 additions & 5 deletions .changeset/swift-bottles-trade.md

This file was deleted.

12 changes: 0 additions & 12 deletions packages/cli/src/command-helpers/abi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -352,12 +352,6 @@ 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':
return 'https://block-explorer-api.testnet.abs.xyz/api';
case 'corn':
return 'https://maizenet-explorer.usecorn.com/api';
case 'corn-testnet':
return 'https://testnet-explorer.usecorn.com/api';
default:
return `https://api-${network}.etherscan.io/api`;
}
Expand Down Expand Up @@ -516,12 +510,6 @@ const getPublicRPCEndpoint = (network: string) => {
return 'https://sepolia.unichain.org';
case 'lens-testnet':
return 'https://api.staging.lens.zksync.dev';
case 'abstract-testnet':
return 'https://api.testnet.abs.xyz';
case 'corn':
return 'https://maizenet-rpc.usecorn.com';
case 'corn-testnet':
return 'https://testnet-rpc.usecorn.com';
default:
throw new Error(`Unknown network: ${network}`);
}
Expand Down

0 comments on commit 51453c2

Please sign in to comment.