From b4aaab8d39fe47f8a1a296fa442f0856f84faf03 Mon Sep 17 00:00:00 2001 From: Richard Moore Date: Tue, 16 Apr 2024 21:45:49 -0400 Subject: [PATCH] Added Linea Sepolia network and Infura endpoint (#4655). --- src.ts/providers/network.ts | 1 + src.ts/providers/provider-infura.ts | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src.ts/providers/network.ts b/src.ts/providers/network.ts index 438e7fd8f3..46d2aacd7d 100644 --- a/src.ts/providers/network.ts +++ b/src.ts/providers/network.ts @@ -408,6 +408,7 @@ function injectCommonNetworks(): void { registerEth("linea", 59144, { ensNetwork: 1 }); registerEth("linea-goerli", 59140, { }); + registerEth("linea-sepolia", 59141, { }); registerEth("matic", 137, { ensNetwork: 1, diff --git a/src.ts/providers/provider-infura.ts b/src.ts/providers/provider-infura.ts index 7757bbcf9c..6aa5ab8a64 100644 --- a/src.ts/providers/provider-infura.ts +++ b/src.ts/providers/provider-infura.ts @@ -16,7 +16,8 @@ * - BNB Smart Chain Mainnet (``bnb``) * - BNB Smart Chain Testnet (``bnbt``) * - Linea (``linea``) - * - Linea Goerlia Testnet (``linea-goerli``) + * - Linea Goerli Testnet (``linea-goerli``) + * - Linea Sepolia Testnet (``linea-sepolia``) * - Optimism (``optimism``) * - Optimism Goerli Testnet (``optimism-goerli``) * - Optimism Sepolia Testnet (``optimism-sepolia``) @@ -71,6 +72,8 @@ function getHost(name: string): string { return "linea-mainnet.infura.io"; case "linea-goerli": return "linea-goerli.infura.io"; + case "linea-sepolia": + return "linea-sepolia.infura.io"; case "matic": return "polygon-mainnet.infura.io"; case "matic-amoy":