Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/core/accounts/kernel/createKernelAccount.ts
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ export async function createKernelAccount<
return encodeCallDataEpV06(calls, callType)
}

if (plugins?.hook) {
if (plugins?.hook && kernelPluginManager.regularValidator && await kernelPluginManager.regularValidator.isEnabled(accountAddress, kernelPluginManager.getAction().selector)) {
Comment thread
maxsch-xmint marked this conversation as resolved.
Outdated
return encodeCallDataEpV07(calls, callType, true, execType)
}
return encodeCallDataEpV07(calls, callType, undefined, execType)
Expand Down
1 change: 1 addition & 0 deletions packages/core/accounts/utils/toKernelPluginManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ export async function toKernelPluginManager<
chainId,
kernelVersion: version,
action,
hook,
validator: regular_,
validatorNonce
})
Expand Down