Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/enable mainnet v7 #758

Merged
merged 2 commits into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading