From edbf0ea0354e679ee97565b4d80914a8315e8a47 Mon Sep 17 00:00:00 2001 From: vplasencia Date: Mon, 8 Jan 2024 13:00:09 +0100 Subject: [PATCH] fix(data): replace matic with mumbai --- packages/data/src/ethers.test.ts | 2 +- packages/data/src/ethers.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/data/src/ethers.test.ts b/packages/data/src/ethers.test.ts index 0c8294a85..1b40fdacf 100644 --- a/packages/data/src/ethers.test.ts +++ b/packages/data/src/ethers.test.ts @@ -28,7 +28,7 @@ describe("SemaphoreEthers", () => { it("Should instantiate a SemaphoreEthers object with different networks", () => { semaphore = new SemaphoreEthers() const semaphore1 = new SemaphoreEthers("arbitrum") - const semaphore2 = new SemaphoreEthers("matic") + const semaphore2 = new SemaphoreEthers("mumbai") const semaphore3 = new SemaphoreEthers("optimism-goerli") const semaphore4 = new SemaphoreEthers("arbitrum-goerli") const semaphore5 = new SemaphoreEthers("arbitrum-goerli", { diff --git a/packages/data/src/ethers.ts b/packages/data/src/ethers.ts index 6cb96b673..1f0e6c357 100644 --- a/packages/data/src/ethers.ts +++ b/packages/data/src/ethers.ts @@ -37,7 +37,7 @@ export default class SemaphoreEthers { checkParameter(options.apiKey, "apiKey", "string") } - if (networkOrEthereumURL === "matic") { + if (networkOrEthereumURL === "mumbai") { networkOrEthereumURL = "maticmum" }