`prepareUserOperationRequest` ignores `middleware` parameter
Closed this issue · 1 comments
matthiasgeihs commented
permissionless.js/packages/permissionless/clients/decorators/smartAccount.ts
Lines 477 to 485 in 0ba75d7
client.prepareUserOperationRequest
accepts a middleware
parameter. This is then embedded in args
. However, because args
is overwritten by the middleware
from smartAccountActions({middleware})
, this middleware
parameter in prepareUserOperationRequest({middleware})
actually does not have an effect.
plusminushalf commented
This is no more valid in permissionless@0.2.x