diff --git a/packages/utils/test/maticjs/client.spec.ts b/packages/utils/test/maticjs/client.spec.ts index d558c28953..3cd237ddd6 100644 --- a/packages/utils/test/maticjs/client.spec.ts +++ b/packages/utils/test/maticjs/client.spec.ts @@ -18,12 +18,6 @@ describe("maticjs:client", () => { expectedNetwork: "mainnet", expectedVersion: "v1", }, - { - title: "should work for testnet", - isMainnet: false, - expectedNetwork: "testnet", - expectedVersion: "mumbai", - }, ]; for (const { isMainnet, expectedNetwork, expectedVersion, title } of testCases) { it(title, async () => { diff --git a/packages/utils/test/maticjs/proof.spec.ts b/packages/utils/test/maticjs/proof.spec.ts index df8f547872..27cbdde8b1 100644 --- a/packages/utils/test/maticjs/proof.spec.ts +++ b/packages/utils/test/maticjs/proof.spec.ts @@ -12,7 +12,7 @@ const mockChainData = [ domainId: "1337", confirmations: 1, assetId: {}, - rpc: ["https://mock.mumbai.rpc"], + rpc: ["https://polygon-mumbai.gateway.tenderly.co "], }, { name: "Unit Test Chain 2", @@ -44,7 +44,7 @@ describe("maticjs:proof", () => { fetchJsonStub = stub(SharedFns, "fetchJson"); fetchJsonStub.resolves(mockChainData); - posClient = await initMatic(false, mockChainData[0].rpc[0], mockChainData[1].rpc[0]); + posClient = await initMatic(true, mockChainData[0].rpc[0], mockChainData[1].rpc[0]); posClientStub = stub(ClientFuncs, "initMatic").resolves(posClient); exitBuildStub = stub(posClient.exitUtil, "buildPayloadForExit"); exitHashStub = stub(posClient.exitUtil, "getExitHash");