From 19fe0f825b2ab61e59fe9f4cc586c46f323ef55f Mon Sep 17 00:00:00 2001 From: Nikola Divic Date: Sat, 21 Dec 2024 00:47:22 +0400 Subject: [PATCH] feat: enable mainnet on epv7 --- config/default.json | 4 ++-- src/test/e2e/nativeTransfer.test.ts | 23 ++++++++++++++++++----- 2 files changed, 20 insertions(+), 7 deletions(-) diff --git a/config/default.json b/config/default.json index e53b3110..5febc7d2 100644 --- a/config/default.json +++ b/config/default.json @@ -17,7 +17,7 @@ 288, 920637907288165, 1740, 1750, 4202, 1135, 2818 ], "supportedNetworksV07": [ - 84532, 8453, 10, 11155420, 56, 42161, 137, 100, 80084 + 1, 11155420, 84532, 8453, 10, 56, 42161, 137, 100, 80084 ], "EIP1559SupportedNetworks": [ 1, 137, 42161, 10, 43114, 43113, 8453, 59144, 204, 5611, 421614, 11155111, @@ -1026,7 +1026,7 @@ "entryPointV07Data": { "0x0000000071727De22E5E9d8BAf0edAc6f37da032": { "supportedChainIds": [ - 84532, 8453, 10, 11155420, 42161, 56, 42161, 137, 100, 80084 + 1, 11155420, 84532, 8453, 10, 56, 42161, 137, 100, 80084 ] } }, diff --git a/src/test/e2e/nativeTransfer.test.ts b/src/test/e2e/nativeTransfer.test.ts index 9d987e91..46d3a457 100644 --- a/src/test/e2e/nativeTransfer.test.ts +++ b/src/test/e2e/nativeTransfer.test.ts @@ -198,6 +198,7 @@ describe("e2e", () => { const receipt = await nexusClient.waitForTransactionReceipt({ hash }); + console.log(`${base.name} EPv0.7.0 txHash: ${receipt.transactionHash}`); console.log(receipt); expect(receipt.status).toBe("success"); @@ -337,7 +338,9 @@ describe("e2e", () => { }); const receipt = await nexusClient.waitForTransactionReceipt({ hash }); - console.log(receipt); + console.log( + `${optimism.name} EPv0.7.0 txHash: ${receipt.transactionHash}`, + ); expect(receipt.status).toBe("success"); }); }); @@ -575,7 +578,8 @@ describe("e2e", () => { }); const receipt = await nexusClient.waitForTransactionReceipt({ hash }); - console.log(receipt); + console.log(`${bsc.name} EPv0.7.0 txHash: ${receipt.transactionHash}`); + // console.log(receipt); expect(receipt.status).toBe("success"); }); }); @@ -709,7 +713,10 @@ describe("e2e", () => { }); const receipt = await nexusClient.waitForTransactionReceipt({ hash }); - console.log(receipt); + console.log( + `${arbitrum.name} EPv0.7.0 txHash: ${receipt.transactionHash}`, + ); + // console.log(receipt); expect(receipt.status).toBe("success"); }); }); @@ -843,13 +850,16 @@ describe("e2e", () => { }); const receipt = await nexusClient.waitForTransactionReceipt({ hash }); + console.log( + `${polygon.name} EPv0.7.0 txHash: ${receipt.transactionHash}`, + ); console.log(receipt); expect(receipt.status).toBe("success"); }); }); }); - describe.only("gnosis-mainnet", () => { + describe("gnosis-mainnet", () => { const account = privateKeyToAccount(`0x${privateKey}`); describe("EntryPoint v0.6.0", () => { @@ -951,7 +961,7 @@ describe("e2e", () => { } }); - describe.skip("EntryPoint v0.7.0", () => { + describe("EntryPoint v0.7.0", () => { const bundlerUrl = `${bundlerHostname}/api/v3/${gnosis.id}/test`; logConfig(gnosis.id, bundlerUrl, account, ""); @@ -977,6 +987,9 @@ describe("e2e", () => { }); const receipt = await nexusClient.waitForTransactionReceipt({ hash }); + console.log( + `${gnosis.name} EPv0.7.0 txHash: ${receipt.transactionHash}`, + ); console.log(receipt); expect(receipt.status).toBe("success"); });