-
Notifications
You must be signed in to change notification settings - Fork 43
Description
We have implemented the createKernelAccount process as per the documentation but are receiving the following error when trying to build the release. We have tried explicitly setting abiItem as per below but this unfortunately hasn't resolved the depth issue.
Is this a known error or is this something being caused by another configuration?
const abiItem: AbiItem = getAbiItem({
abi: KernelV3ExecuteAbi,
name: "execute",
});
const account = await createKernelAccount(publicClient, {
entryPoint,
kernelVersion,
plugins: {
sudo: ecdsaValidator,
action: {
address: zeroAddress,
selector: toFunctionSelector(abiItem),
},
}
});
Error:
./node_modules/@zerodev/waas/node_modules/@zerodev/permissions/policies/callPolicyUtils.ts:37:32
Type error: Type instantiation is excessively deep and possibly infinite.
35 | }
36 | }
37 | const abiItem = getAbiItem({