Skip to content

Commit

Permalink
Merge pull request #528 from semaphore-protocol/fix/mumbai-data-package
Browse files Browse the repository at this point in the history
Replace matic with mumbai
  • Loading branch information
cedoor authored Jan 8, 2024
2 parents 844a664 + edbf0ea commit 49f8239
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/data/src/ethers.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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", {
Expand Down
2 changes: 1 addition & 1 deletion packages/data/src/ethers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default class SemaphoreEthers {
checkParameter(options.apiKey, "apiKey", "string")
}

if (networkOrEthereumURL === "matic") {
if (networkOrEthereumURL === "mumbai") {
networkOrEthereumURL = "maticmum"
}

Expand Down

0 comments on commit 49f8239

Please sign in to comment.