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

prepareUserOperationRequest ignores middleware parameter #257

Closed
matthiasgeihs opened this issue Jul 25, 2024 · 1 comment
Closed

prepareUserOperationRequest ignores middleware parameter #257

matthiasgeihs opened this issue Jul 25, 2024 · 1 comment

Comments

@matthiasgeihs
Copy link

prepareUserOperationRequest: (args, stateOverrides) =>
prepareUserOperationRequest(
client,
{
...args,
middleware
},
stateOverrides
),

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
Copy link
Contributor

This is no more valid in [email protected]

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

2 participants