-
Notifications
You must be signed in to change notification settings - Fork 132
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
Multisign - Alchemy Account Kit SDK error (multisigAccountClient.proposeUserOperation) #1242
Comments
thanks for filing @shifas - we're triaging and will report back. if you have a good handle on this feel free to also open a PR against |
Sorry, Issue arised because I had to pass uo: request.callData, now it works But still my transaction is not done in the blockchain Updated client code:
Userop Status
Can anyone help me find where I'm going wrong? |
Followed document to tryout Multisign
multisigAccountClient.proposeUserOperation not working as expected
multisigAccountClient.sendUserOperation goes success, but data is not updated in chain
[REQUIRED] Environment
"@aa-sdk/core": "^4.7.0",
"@account-kit/infra": "^4.7.0",
"@account-kit/smart-contracts": "^4.7.0",
[REQUIRED] Describe the problem
Error shown
Relevant code or sample repro:
This is my propose.js code (executing a simple update function by collecting multiple signatures)
My inference:
These are the functions where error originates
@aa-sdk/core/dist/esm/actions/smartAccount/internal/initUserOperation.js
Code 1
and is being referred on
@account-kit/smart-contracts/dist/esm/src/msca/account/standardExecutor.js
Code 2
So the problem here is when we're calling our client file code
Code 1 calls account.encodeExecute(uo) (encoded data is passed to Code 2)
So params in encodeExecute: async ({ target, data, value }) will be undefined
Possible Solution:
Decode the param uo before using its expected outputs in
encodeExecute: async ({ target, data, value })
otherwise params target, data, value will be undefined
The text was updated successfully, but these errors were encountered: