Skip to content

Conversation

@masih
Copy link
Member

@masih masih commented May 28, 2024

Update the core protocol implementation to allow skipping to future rounds from QUALITY phase. This reduces the conditions to requiring an instance to only fully execute DECIDE phase. Otherwise, the instance may jump ahead as long as all queued messages are processed.

As a result, the implementation no longer needs to check for QUALITY phase transition on receiving alarms.

Fixes #278

@masih masih requested a review from anorth May 28, 2024 09:34
@codecov-commenter
Copy link

codecov-commenter commented May 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.22%. Comparing base (5d4538a) to head (92d1d5b).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #279      +/-   ##
==========================================
- Coverage   71.22%   71.22%   -0.01%     
==========================================
  Files          33       33              
  Lines        2440     2433       -7     
==========================================
- Hits         1738     1733       -5     
+ Misses        571      570       -1     
+ Partials      131      130       -1     
Files Coverage Δ
gpbft/gpbft.go 84.00% <100.00%> (+0.14%) ⬆️

@masih masih force-pushed the masih/allow-skip-quality-round branch 2 times, most recently from fb72402 to 654eb3b Compare May 28, 2024 13:52
@github-actions
Copy link

Fuzz test failed on commit 654eb3b. To troubleshoot locally, download the seed corpus using GitHub CLI by running:

gh run download 9270638776 -n testdata

Aleternatively, download directly from here.

Update the core protocol implementation to allow skipping to future
rounds from QUALITY phase. This reduces the conditions to requiring an
instance to only fully execute DECIDE phase. Otherwise, the instance may
jump ahead as long as all queued messages are processed.

As a result, the implementation no longer needs to check for QUALITY
phase transition on receiving alarms.

Fixes #278
@masih masih force-pushed the masih/allow-skip-quality-round branch from 654eb3b to 92d1d5b Compare May 28, 2024 14:34
@anorth anorth added this pull request to the merge queue May 28, 2024
Merged via the queue into main with commit 3456bdc May 28, 2024
@anorth anorth deleted the masih/allow-skip-quality-round branch May 28, 2024 22:00
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.

Allow skip to future round from QUALITY

4 participants