Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mouseless0x committed Jan 27, 2025
1 parent d9fa603 commit a2cee31
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/mempool/mempool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,8 @@ export class MemoryMempool {
})
.slice()

if (outstandingUserOperations.length === 0) return []

// Get EntryPoint version. (Ideally version should be derived from CLI flags)
const isV6 = isVersion06(outstandingUserOperations[0])
const allSameVersion = outstandingUserOperations.every(
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/deploy-contracts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const verifyDeployed = async ({
client
}: { addresses: Address[]; client: PublicClient }) => {
for (const address of addresses) {
const bytecode = await client.getCode({
const bytecode = await client.getBytecode({
address
})

Expand Down
2 changes: 1 addition & 1 deletion test/e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"permissionless": "^0.2.1",
"prool": "^0.0.16",
"ts-node": "^10.9.2",
"viem": "^2.9.5",
"viem": "^2.22.15",
"vitest": "^1.6.0",
"wait-port": "^1.1.0"
}
Expand Down

0 comments on commit a2cee31

Please sign in to comment.