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

Optimally use snapshot structure in bor consensus #1417

Open
manav2401 opened this issue Jan 27, 2025 · 0 comments
Open

Optimally use snapshot structure in bor consensus #1417

manav2401 opened this issue Jan 27, 2025 · 0 comments

Comments

@manav2401
Copy link
Contributor

Rationale

I believe there's lot of duplicate work being done in bor consensus. The snapshot structure in bor caches a lot of things yet we fetch them from contract multiple times.

TODO: add some instances of such here for reference.

Implementation

Try to use cached version of data (e.g. validator set) from snapshot whenever possible.

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

1 participant