Skip to content

Commit

Permalink
test: added waitForUserOperationReceipt in weightedValidator testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
SahilVasava committed Nov 20, 2024
1 parent 62248c7 commit a87a243
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/test/v0.7/weightedValidator.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,11 @@ describe("weightedValidator", () => {
})

console.log({ userOpHash })

const rcpt = await client2.waitForUserOperationReceipt({
hash: userOpHash
})
console.log({ txHash: rcpt.receipt.transactionHash })
},
TEST_TIMEOUT
)
Expand Down
5 changes: 5 additions & 0 deletions packages/test/v0.7/weightedValidatorWithPermission.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,11 @@ describe("weightedValidator", () => {
})

console.log({ userOpHash })

const rcpt = await client2.waitForUserOperationReceipt({
hash: userOpHash
})
console.log({ txHash: rcpt.receipt.transactionHash })
},
TEST_TIMEOUT
)
Expand Down

0 comments on commit a87a243

Please sign in to comment.