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

Hold all factory child addresses in memory #1091

Open
kyscott18 opened this issue Sep 10, 2024 · 0 comments · May be fixed by #1115
Open

Hold all factory child addresses in memory #1091

kyscott18 opened this issue Sep 10, 2024 · 0 comments · May be fixed by #1115

Comments

@kyscott18
Copy link
Collaborator

When handling factories, the realtime sync currently queries the database on every block to determine which logs or traces are matched by a filter that contains a factory.

We could skip this database query if instead, on startup, we queried all child addresses, stored them in memory, and updated when a new child is registered.

@kyscott18 kyscott18 linked a pull request Sep 20, 2024 that will close this issue
3 tasks
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

Successfully merging a pull request may close this issue.

1 participant