Skip to content

Commit

Permalink
⬆️ fixes upon merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Filipp Makarov authored and Filipp Makarov committed Oct 17, 2023
1 parent 0744132 commit 353ac2b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
getMockToken,
getEcdsaOwnershipRegistryModule,
getSmartAccountWithModule,
getVerifyingPaymaster,
} from "../../utils/setupHelper";
import { SignerWithAddress } from "@nomiclabs/hardhat-ethers/signers";
import { BundlerTestEnvironment } from "../environment/bundlerEnvironment";
Expand Down Expand Up @@ -156,10 +155,6 @@ describe("Account Recovery Module (via Bundler)", async () => {
ecdsaModule: ecdsaModule,
userSA: userSA,
accountRecoveryModule: accountRecoveryModule,
verifyingPaymaster: await getVerifyingPaymaster(
deployer,
verifiedSigner
),
defaultSecurityDelay: defaultSecurityDelay,
controlMessage: controlMessage,
};
Expand Down
5 changes: 0 additions & 5 deletions test/module/AccountRecovery.Module.specs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {
getMockToken,
getEcdsaOwnershipRegistryModule,
getSmartAccountWithModule,
getVerifyingPaymaster,
} from "../utils/setupHelper";
import {
makeEcdsaModuleUserOp,
Expand Down Expand Up @@ -149,10 +148,6 @@ describe("Account Recovery Module: ", async () => {
userSA: userSA,
aliceSA: aliceSA,
accountRecoveryModule: accountRecoveryModule,
verifyingPaymaster: await getVerifyingPaymaster(
deployer,
verifiedSigner
),
defaultSecurityDelay: defaultSecurityDelay,
controlMessage: controlMessage,
chainId: chainId,
Expand Down
11 changes: 2 additions & 9 deletions test/utils/accountRecovery.ts
Original file line number Diff line number Diff line change
@@ -1,21 +1,14 @@
import { BigNumber, BytesLike, Contract, Signer } from "ethers";
import { Contract, Signer } from "ethers";
import { ethers } from "hardhat";
import { EntryPoint, SmartAccount } from "../../typechain";
import { EntryPoint } from "../../typechain-types";
import { UserOperation } from "./userOperation";
import {

Check failure on line 5 in test/utils/accountRecovery.ts

View workflow job for this annotation

GitHub Actions / Lint sources (18.x)

Replace `⏎··getUserOpHash,⏎··fillUserOp,⏎` with `·getUserOpHash,·fillUserOp·`
fillAndSign,
makeEcdsaModuleUserOp,
getUserOpHash,
fillUserOp,
} from "./userOp";
import {

Check failure on line 9 in test/utils/accountRecovery.ts

View workflow job for this annotation

GitHub Actions / Lint sources (18.x)

Replace `⏎··arrayify,⏎` with `·arrayify·`
hexZeroPad,
hexConcat,
defaultAbiCoder,
arrayify,
} from "ethers/lib/utils";
import MerkleTree from "merkletreejs";
import { keccak256 } from "ethereumjs-util";

export async function makeMultiSignedUserOpWithGuardiansList(
functionName: string,
Expand Down

0 comments on commit 353ac2b

Please sign in to comment.