Skip to content

Commit

Permalink
fix: cast variables
Browse files Browse the repository at this point in the history
  • Loading branch information
highskore committed Nov 14, 2024
1 parent 9981d5c commit 63c8999
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/accounts/kernel/KernelFactory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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))
);
}

Expand Down
2 changes: 1 addition & 1 deletion src/accounts/kernel/interfaces/IKernel.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 63c8999

Please sign in to comment.