diff --git a/src/accounts/kernel/KernelFactory.sol b/src/accounts/kernel/KernelFactory.sol index 2bf4f5f2..335eb1bd 100644 --- a/src/accounts/kernel/KernelFactory.sol +++ b/src/accounts/kernel/KernelFactory.sol @@ -51,7 +51,7 @@ contract KernelFactory is IAccountFactory, KernelPrecompiles { _init = abi.encodeCall( IKernel.initialize, - (rootValidator, address(hookMultiPlexer), initData, hex"00", new bytes[](0)) + (rootValidator, IHook(address(hookMultiPlexer)), initData, hex"00", new bytes[](0)) ); } diff --git a/src/accounts/kernel/interfaces/IKernel.sol b/src/accounts/kernel/interfaces/IKernel.sol index 9219ead7..e590a7dc 100644 --- a/src/accounts/kernel/interfaces/IKernel.sol +++ b/src/accounts/kernel/interfaces/IKernel.sol @@ -5,7 +5,7 @@ import { IERC7579Account } from "./IERC7579Account.sol"; import { IAccount, ValidationData } from "./IAccount.sol"; import { IAccountExecute } from "./IAccountExecute.sol"; import { ValidationId, ValidationConfig } from "../lib/ValidationTypeLib.sol"; -import { IHook } from "../../common/interfaces/IERC7579Modules.sol"; +import { IHook } from "src/accounts/common/interfaces/IERC7579Modules.sol"; import { PackedUserOperation } from "@ERC4337/account-abstraction/contracts/core/UserOperationLib.sol"; import { ExecMode } from "../lib/ExecLib.sol";