Skip to content

Commit

Permalink
feat: enable mainnet on epv7
Browse files Browse the repository at this point in the history
  • Loading branch information
TheDivic committed Dec 20, 2024
1 parent 47277a3 commit 19fe0f8
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 7 deletions.
4 changes: 2 additions & 2 deletions config/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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
]
}
},
Expand Down
23 changes: 18 additions & 5 deletions src/test/e2e/nativeTransfer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down Expand Up @@ -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");
});
});
Expand Down Expand Up @@ -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");
});
});
Expand Down Expand Up @@ -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");
});
});
Expand Down Expand Up @@ -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", () => {
Expand Down Expand Up @@ -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, "");
Expand All @@ -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");
});
Expand Down

0 comments on commit 19fe0f8

Please sign in to comment.