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

Propose checks, id in prevote and precommit #7

Merged
merged 7 commits into from
Oct 24, 2023

Conversation

romac
Copy link
Member

@romac romac commented Oct 21, 2023

No description provided.

@codecov
Copy link

codecov bot commented Oct 21, 2023

Codecov Report

Merging #7 (3c2171e) into romac/consensus (7e260c6) will increase coverage by 14.11%.
The diff coverage is 83.86%.

@@                 Coverage Diff                  @@
##           romac/consensus       #7       +/-   ##
====================================================
+ Coverage            71.49%   85.60%   +14.11%     
====================================================
  Files                   15       15               
  Lines                  698     1007      +309     
====================================================
+ Hits                   499      862      +363     
+ Misses                 199      145       -54     
Files Coverage Δ
Code/common/src/proposal.rs 100.00% <100.00%> (ø)
Code/common/src/validator_set.rs 96.19% <100.00%> (+3.80%) ⬆️
Code/common/src/value.rs 82.35% <100.00%> (+25.21%) ⬆️
Code/common/src/vote.rs 100.00% <100.00%> (ø)
Code/round/src/events.rs 100.00% <ø> (ø)
Code/round/src/message.rs 100.00% <100.00%> (+30.00%) ⬆️
Code/round/src/state.rs 98.08% <100.00%> (+51.02%) ⬆️
Code/vote/src/lib.rs 92.86% <ø> (ø)
Code/common/src/round.rs 82.00% <88.89%> (-6.10%) ⬇️
Code/vote/src/count.rs 90.24% <53.33%> (-5.45%) ⬇️
... and 3 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@romac romac merged commit a80f2a4 into romac/consensus Oct 24, 2023
11 checks passed
@romac romac deleted the anca/propose_checks branch October 24, 2023 07:25
romac added a commit that referenced this pull request Oct 24, 2023
* Propose checks, id in prevote and precommit

* Disallow `unwrap` and `panic`

* Add proper checks without unwraps

* Add executor test with steps up to precommit

* Formatting and clippy

* Enable more lints

* Finish the happy path test

---------

Co-authored-by: Anca Zamfir <[email protected]>
romac added a commit that referenced this pull request Oct 24, 2023
* Add skeleton of consensus executor

* Cleanup

* Weight vote by its validators voting power

* Add unit test for `ValidatorSet`

* Split common lib into modules

* WIP: Unit tests for state machine

* Cleanup

* Create new round state machine on NewRound

* Propose checks, id in prevote and precommit (#7)

* Propose checks, id in prevote and precommit

* Disallow `unwrap` and `panic`

* Add proper checks without unwraps

* Add executor test with steps up to precommit

* Formatting and clippy

* Enable more lints

* Finish the happy path test

---------

Co-authored-by: Anca Zamfir <[email protected]>

---------

Co-authored-by: Anca Zamfir <[email protected]>
romac added a commit that referenced this pull request Nov 8, 2023
* Add skeleton of consensus executor

* Cleanup

* Weight vote by its validators voting power

* Add unit test for `ValidatorSet`

* Split common lib into modules

* WIP: Unit tests for state machine

* Cleanup

* Create new round state machine on NewRound

* Propose checks, id in prevote and precommit (#7)

* Propose checks, id in prevote and precommit

* Disallow `unwrap` and `panic`

* Add proper checks without unwraps

* Add executor test with steps up to precommit

* Formatting and clippy

* Enable more lints

* Finish the happy path test

---------

Co-authored-by: Anca Zamfir <[email protected]>

---------

Co-authored-by: Anca Zamfir <[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.

2 participants