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

Update HotStuff Reader CLI Tool #3363

Merged
merged 3 commits into from
Oct 21, 2022

Conversation

jordanschalm
Copy link
Member

This PR modifies the HotStuff CLI command, replacing get-view with get-liveness and get-safety.

Example usage on Localnet:

Screen Shot 2022-10-10 at 12 36 57 PM

Screen Shot 2022-10-10 at 12 29 46 PM

Screen Shot 2022-10-10 at 12 28 36 PM

@codecov-commenter
Copy link

codecov-commenter commented Oct 10, 2022

Codecov Report

Merging #3363 (dfd7c73) into feature/active-pacemaker (6ca919a) will decrease coverage by 0.02%.
The diff coverage is n/a.

@@                     Coverage Diff                      @@
##           feature/active-pacemaker    #3363      +/-   ##
============================================================
- Coverage                     55.30%   55.28%   -0.03%     
============================================================
  Files                           748      748              
  Lines                         69412    69412              
============================================================
- Hits                          38387    38372      -15     
- Misses                        27890    27901      +11     
- Partials                       3135     3139       +4     
Flag Coverage Δ
unittests 55.28% <ø> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
network/p2p/dns/resolver.go 91.51% <0.00%> (-4.85%) ⬇️
...s/hotstuff/votecollector/staking_vote_processor.go 81.05% <0.00%> (-3.16%) ⬇️
admin/command_runner.go 79.88% <0.00%> (-1.12%) ⬇️
fvm/environment/contract_updater.go 66.54% <0.00%> (-0.72%) ⬇️
engine/access/ingestion/engine.go 59.62% <0.00%> (-0.56%) ⬇️
...sus/hotstuff/timeoutcollector/timeout_processor.go 86.18% <0.00%> (+1.97%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@jordanschalm jordanschalm marked this pull request as ready for review October 11, 2022 15:13
Copy link
Member

@zhangchiqing zhangchiqing left a comment

Choose a reason for hiding this comment

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

Nice. Would be great to have admin tool for that

@jordanschalm
Copy link
Member Author

bors merge

bors bot added a commit that referenced this pull request Oct 18, 2022
3363: Update HotStuff Reader CLI Tool r=jordanschalm a=jordanschalm

This PR modifies the HotStuff CLI command, replacing `get-view` with `get-liveness` and `get-safety`. 

Example usage on Localnet:

<img width="400" alt="Screen Shot 2022-10-10 at 12 36 57 PM" src="https://user-images.githubusercontent.com/10557821/194847963-558aeb87-fed2-4694-a550-5f300e0036f1.png">
<img width="400" alt="Screen Shot 2022-10-10 at 12 29 46 PM" src="https://user-images.githubusercontent.com/10557821/194848032-9bbf6fca-e1ad-41f1-aa1d-b05cb46938a3.png">
<img width="400" alt="Screen Shot 2022-10-10 at 12 28 36 PM" src="https://user-images.githubusercontent.com/10557821/194848080-f5db1505-f304-4865-8952-236cb6a71089.png">


Co-authored-by: Jordan Schalm <jordan@dapperlabs.com>
@bors
Copy link
Contributor

bors bot commented Oct 18, 2022

Build failed:

@jordanschalm
Copy link
Member Author

I think the failing consensus tests here would be fixed by the addition of a block message queue to VoteAggregator in #3277

@jordanschalm jordanschalm merged commit 95f7277 into feature/active-pacemaker Oct 21, 2022
@jordanschalm jordanschalm deleted the jordan/6388-hotstuff-util branch October 21, 2022 06:39
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants