Closed
Description
We've just come accross an issue that Kernel accounts revert with the AA21 didn't pay prefund
error during the estimation phase - when calling simulateHandleOps
method of EntryPoint - although the sender had enough funds.
I believe this is because Kernel.validateUserOp
requires a signature to be valid before sending missingAccountFunds
.
Lines 145 to 154 in 50bd922
I'd suggest that Kernel.validateUserOp
pays missingAccountFunds
regardless of a signature otherwise it hurts UX (because we would be asking users for 2 signatures to send 1 userop)
Metadata
Assignees
Labels
No labels