You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for providing various examples, which have been helpful in understanding Abstraction Account. I was able to reproduce other parts successfully, but I am having issues with the implementation of batchERC20Transfer and batchTransfer. When called, I receive the following error message:
{
...."reason": "Error: VM Exception while processing transaction: reverted with reason string 'account: not Owner or EntryPoint'",
....
}
Upon further investigation, I found that the issue occurs when passing the encodeFunctionData(executeBatch) as a parameter to accountAPI.createSignedUserOp.
within the implementation of accountAPI, the encodeFunctionData(executeBatch) is re-encoded as execute, and this results in an error when execute is called again within executeBatch.
Thank you for providing various examples, which have been helpful in understanding Abstraction Account. I was able to reproduce other parts successfully, but I am having issues with the implementation of
batchERC20Transfer
andbatchTransfer
. When called, I receive the following error message:Upon further investigation, I found that the issue occurs when passing the
encodeFunctionData(executeBatch)
as a parameter toaccountAPI.createSignedUserOp
.erc-4337-examples/scripts/simpleAccount/batchErc20Transfer.ts
Lines 63 to 68 in c7902cb
within the implementation of accountAPI, the
encodeFunctionData(executeBatch)
is re-encoded asexecute
, and this results in an error when execute is called again withinexecuteBatch
.https://github.com/eth-infinitism/bundler/blob/22166ee14b7ea4d017a365fe36cf9d4a49520e6b/packages/sdk/src/BaseAccountAPI.ts#L169-L188
It seems that a modification to the bundler SDK of eth-infinitism is necessary to support executeBatch.
The text was updated successfully, but these errors were encountered: