Skip to content

Commit

Permalink
[#754] Lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
akshay-ap committed Jul 12, 2024
1 parent 405a5ba commit 09c4000
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions modules/4337/test/erc4337/Safe4337Module.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ describe('Safe4337Module', () => {
})

it('should fail signature validation when signatures are too short', async () => {
const { user, safeModule, validator, entryPoint } = await setupTests()
const { user, safeModule, entryPoint } = await setupTests()

const validAfter = BigInt(ethers.hexlify(ethers.randomBytes(3)))
const validUntil = validAfter + BigInt(ethers.hexlify(ethers.randomBytes(3)))
Expand All @@ -290,10 +290,9 @@ describe('Safe4337Module', () => {
},
)

const safeOpHash = calculateSafeOperationHash(await validator.getAddress(), safeOp, await chainId())
const userOp = buildPackedUserOperationFromSafeUserOperation({
safeOp,
signature: "0x",
signature: '0x',
})
const packedValidationData = packValidationData(1, validUntil, validAfter)
const entryPointImpersonator = await ethers.getSigner(await entryPoint.getAddress())
Expand Down

0 comments on commit 09c4000

Please sign in to comment.