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

Clean votekeeper spec #69

Merged
merged 2 commits into from
Nov 15, 2023
Merged

Conversation

hvanz
Copy link
Member

@hvanz hvanz commented Nov 14, 2023

Typos, comments, new spells, a small refactoring with the new functions hasQuorumOnValue and hasQuorumOnAny, and a general cleaning for better readability.

@hvanz hvanz added the mbt Model-Based Testing label Nov 14, 2023
@hvanz hvanz self-assigned this Nov 14, 2023
Copy link
Member

@josef-widder josef-widder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great. Thanks!

@josef-widder josef-widder merged commit 98b5c4a into josef/executor Nov 15, 2023
2 checks passed
@josef-widder josef-widder deleted the hvanz/spec-votekeeper-pass branch November 15, 2023 14:04
josef-widder added a commit that referenced this pull request Nov 15, 2023
… voteKeeper (#40)

* executor start

* PreCommit function

* TODOs

* line 28 is in the books

* prevote, precommit, and timeout done. proposal missing

* starting to put things together for state machine

* a somewhat complete version of the executor logic

* state machine, but needs to be debugged

* moving statemachine. problem with chooseSome

* it moves

* more things moving

* some problem with bookkeeper

* more things move

* I have seen a Polka

* cleanup

* cleaning

* successful test of statemachine

* before consensus return refactor

* first pending event added

* cleaned consensus

* commit to merge with Manuel's updated votekeeper

* to merge Daniel's comment

* executor start

* PreCommit function

* TODOs

* line 28 is in the books

* prevote, precommit, and timeout done. proposal missing

* starting to put things together for state machine

* a somewhat complete version of the executor logic

* state machine, but needs to be debugged

* moving statemachine. problem with chooseSome

* it moves

* more things moving

* some problem with bookkeeper

* more things move

* I have seen a Polka

* cleanup

* cleaning

* successful test of statemachine

* before consensus return refactor

* first pending event added

* cleaned consensus

* commit to merge with Manuel's updated votekeeper

* to merge Daniel's comment

* addressed Daniel's comments

* addressed Daniel's comments and run tests

* completed the timeout test

* clean up and comments

* added checks for increasing round numbers

* added hash function checks

* valset error thrown in test fixed

* added action and logic to get value from the outside into the system

* comments following the discussion on where to put the reponsibility for getValue

* transformed that executed events into list

* added an asynchronous execution environment

* added round number checks to ProposalMsg

* test for disagreement in asynchronous setting

* Parameterization of the Asynchronous model

* Typecheck all Quint specs on CI and run test for `consensustest.qnt`

* Update Specs/Quint/AsyncModels.qnt

Co-authored-by: Romain Ruetschi <[email protected]>

* added a type invariant

* updated syntax to Quint 0.14.4

* moved bookkeeper statemachine out for modularity

* Update Quint test job

* commented a line that failed a test. Need to discuss with Manu

* Run test on all Quint files

* Use script to run all tests even in the presence of failures

* fixed the logic and the test for Precommit,Nil

* Update Specs/Quint/voteBookkeeperTest.qnt

Signed-off-by: Josef Widder <[email protected]>

Co-authored-by: Hernán Vanzetto <[email protected]>

* rename files for test CI

* Update .github/workflows/quint.yml

* renamed one more file with a test

* module renamed

* start with a test where a process enters round 1 and messages are already around

* added todos

* Pass over the votekeeper spec (#69)

Co-authored-by: Josef Widder <[email protected]>

---------

Co-authored-by: Romain Ruetschi <[email protected]>
Co-authored-by: Hernán Vanzetto <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mbt Model-Based Testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants