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

[Chore]: Limit the number of validated deposit in block observer #1420

Open
matteojug opened this issue Feb 23, 2025 · 0 comments
Open

[Chore]: Limit the number of validated deposit in block observer #1420

matteojug opened this issue Feb 23, 2025 · 0 comments

Comments

@matteojug
Copy link
Collaborator

Description

In block observer load_requests (called by load_latest_deposit_requests) we currently attempt to validate all the requests we fetched from Emily, but this may take a while. To ensure the coordinator has enough time to do meaningful work during its tenure, we should have some limit in place (eg, processing only a subset of the requests and leaving the rest to the next tenure). We should also skip validation for deposits already in the db.

Related Issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant