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

[AUDIT] - Investigate Double View Update from View Sync task #3532

Merged
merged 5 commits into from
Aug 5, 2024

Conversation

lukeiannucci
Copy link
Contributor

@lukeiannucci lukeiannucci commented Aug 2, 2024

Closes #3463

This PR:

We have added logic to properly handle fetching blocks when a node is the the leader two views in a row (see #3462). Now, we can remove the double update from View Sync and write a integration test to verify when view sync triggers after 2 failures that we fetch both blocks for the next leader who will lead 2 consecutive views

This PR does not:

Key places to review:

@lukeiannucci lukeiannucci linked an issue Aug 2, 2024 that may be closed by this pull request
@lukeiannucci lukeiannucci changed the title remove double view update from sync task [AUDIT] - Investigate Double View Update from View Sync task Aug 2, 2024
@lukeiannucci lukeiannucci force-pushed the li/remove-double-view-update branch from 8211189 to 206f2cc Compare August 2, 2024 16:56
@lukeiannucci lukeiannucci marked this pull request as ready for review August 2, 2024 16:58
@lukeiannucci lukeiannucci requested a review from bfish713 August 2, 2024 16:59
@lukeiannucci lukeiannucci self-assigned this Aug 2, 2024
@lukeiannucci lukeiannucci merged commit 4b866a7 into main Aug 5, 2024
36 checks passed
@lukeiannucci lukeiannucci deleted the li/remove-double-view-update branch August 5, 2024 15:39
shamb0 pushed a commit to shamb0/HotShot that referenced this pull request Aug 6, 2024
…oSystems#3532)

* remove double view update from sync task

* add expected views to fail, and set the threshold for how many nodes enter view sync

* rename and cleanup

* run formatter

* add spacing
shamb0 added a commit to shamb0/HotShot that referenced this pull request Aug 6, 2024
parent 4d7965a
author RK <[email protected]> 1722937109 +0530
committer shamb0 <[email protected]> 1722937948 +0530

remove glitches

[AUDIT] - Investigate Double View Update from View Sync task (EspressoSystems#3532)

* remove double view update from sync task

* add expected views to fail, and set the threshold for how many nodes enter view sync

* rename and cleanup

* run formatter

* add spacing

remove glitches

Refactor code: reviewed and removed duplicates

Signed-off-by: shamb0 <[email protected]>

fix:: Implement graceful shutdown for Byzantine integration tests in tokio and async-std

Signed-off-by: shamb0 <[email protected]>
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 this pull request may close these issues.

[AUDIT] - Investigate Double View Update from View Sync task
3 participants