Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

createKernelAccount returns excessively deep and possibly infinite. #198

Open
dawb opened this issue Nov 19, 2024 · 0 comments
Open

createKernelAccount returns excessively deep and possibly infinite. #198

dawb opened this issue Nov 19, 2024 · 0 comments

Comments

@dawb
Copy link

dawb commented Nov 19, 2024

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({

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant