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

[AA] optimize bundler calls for eth_getUserOperationReceipt and eth_getUserOperationByHash #865

Open
souradeep-das opened this issue May 31, 2023 · 1 comment
Assignees

Comments

@souradeep-das
Copy link
Contributor

Issue Type

[ ] bug report
[ ] feature request
[X] optimization

Current Behavior

eth_getUserOperationReceipt and eth_getUserOperationByHash endpoints on the bundler take an additional optional parameter that users can use to specify block ranges. However the user may not be aware of the exact block ranges.

Suggested Fix

Store the event logs in a db, and make the bundler query events from the db
Other solution is to use a subgraph, if it is effective
(There may be other solutions)

@InoMurko
Copy link
Contributor

However the user may not be aware of the exact block ranges.

  • block ranges the underlying network allows
  • block ranges in which his hash IS

whether this is OK for devs for wallets, we don't really know. so... we shall see what the solution is.

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