From 4436e9a3175b822f19429b47832dbd3e88825969 Mon Sep 17 00:00:00 2001 From: Etienne Donneger <0237h@pm.me> Date: Tue, 26 Nov 2024 19:31:56 +0000 Subject: [PATCH] Revert "block explorers and public rpcs for new chains (#1772)" This reverts commit d43b2196ea03fef0ddb3977e21125ddfb517e9a1. --- .changeset/swift-bottles-trade.md | 5 ----- packages/cli/src/command-helpers/abi.ts | 12 ------------ 2 files changed, 17 deletions(-) delete mode 100644 .changeset/swift-bottles-trade.md diff --git a/.changeset/swift-bottles-trade.md b/.changeset/swift-bottles-trade.md deleted file mode 100644 index 26b75ea31..000000000 --- a/.changeset/swift-bottles-trade.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@graphprotocol/graph-cli': patch ---- - -Add new chains: `abstract-testnet`, `corn` and `corn-testnet` diff --git a/packages/cli/src/command-helpers/abi.ts b/packages/cli/src/command-helpers/abi.ts index 5313e3fd3..024fcb4f5 100644 --- a/packages/cli/src/command-helpers/abi.ts +++ b/packages/cli/src/command-helpers/abi.ts @@ -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`; } @@ -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}`); }