From e3d110fd7946570916a4353fc7a22966331e45e8 Mon Sep 17 00:00:00 2001 From: Ashar2shahid <31223740+Ashar2shahid@users.noreply.github.com> Date: Sat, 26 Aug 2023 12:14:35 -0400 Subject: [PATCH] Fix linea-goerli, mantle RPC URLs (#69) * fix rpc of linea-testnet, mantle * update package * update chains.ts --- chains/linea-goerli-testnet.json | 4 ++-- chains/mantle.json | 2 +- package.json | 2 +- src/generated/chains.ts | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/chains/linea-goerli-testnet.json b/chains/linea-goerli-testnet.json index 8bafe82c..592a4628 100644 --- a/chains/linea-goerli-testnet.json +++ b/chains/linea-goerli-testnet.json @@ -4,7 +4,7 @@ "id": "59140", "symbol": "testETH", "testnet": true, - "providerUrl": "https://goerli.lineascan.build/", + "providerUrl": "https://rpc.goerli.linea.build", "explorer": { "api": { "url": "https://api-testnet.lineascan.build/api", @@ -12,7 +12,7 @@ "required": false } }, - "browserUrl": "https://explorer.goerli.linea.build/" + "browserUrl": "https://goerli.lineascan.build/" }, "blockTimeMs": 12099 } diff --git a/chains/mantle.json b/chains/mantle.json index d590aaf4..8b3cffca 100644 --- a/chains/mantle.json +++ b/chains/mantle.json @@ -4,7 +4,7 @@ "id": "5000", "symbol": "MNT", "testnet": false, - "providerUrl": "https://rpc.testnet.mantle.xyz/", + "providerUrl": "https://rpc.mantle.xyz", "explorer": { "api": { "url": "https://explorer.mantle.xyz/api", diff --git a/package.json b/package.json index 2a331318..aee24a82 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@api3/chains", "license": "MIT", - "version": "3.4.1", + "version": "3.4.2", "author": "API3 DAO", "private": false, "main": "./dist/index.js", diff --git a/src/generated/chains.ts b/src/generated/chains.ts index fdc9deea..27483c71 100644 --- a/src/generated/chains.ts +++ b/src/generated/chains.ts @@ -345,10 +345,10 @@ export const CHAINS: Chain[] = [ id: '59140', symbol: 'testETH', testnet: true, - providerUrl: 'https://goerli.lineascan.build/', + providerUrl: 'https://rpc.goerli.linea.build', explorer: { api: { url: 'https://api-testnet.lineascan.build/api', key: { required: false } }, - browserUrl: 'https://explorer.goerli.linea.build/', + browserUrl: 'https://goerli.lineascan.build/', }, blockTimeMs: 12099, }, @@ -384,7 +384,7 @@ export const CHAINS: Chain[] = [ id: '5000', symbol: 'MNT', testnet: false, - providerUrl: 'https://rpc.testnet.mantle.xyz/', + providerUrl: 'https://rpc.mantle.xyz', explorer: { api: { url: 'https://explorer.mantle.xyz/api', key: { required: false } }, browserUrl: 'https://explorer.mantle.xyz/',