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" }