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 · 2 comments
Open

Optimally use snapshot structure in bor consensus #1417

manav2401 opened this issue Jan 27, 2025 · 2 comments
Assignees

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.

@manav2401 manav2401 self-assigned this Feb 4, 2025
Copy link

This issue is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 14 days.

@github-actions github-actions bot added the Stale label Feb 19, 2025
@marcello33
Copy link
Contributor

Do we need a JIRA task for this @manav2401 ?

@github-actions github-actions bot removed the Stale label Feb 21, 2025
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