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

[Merged by Bors] - tortoise: load ref ballots before other #4944

Conversation

dshulyak
Copy link
Contributor

@dshulyak dshulyak commented Sep 1, 2023

this can be seen as attack, where ref ballots is published, everyone is using that as base ballot,
and then ref ballot gets cancelled.
we still need to load it in state, otherwise it may block counting honest ballots

this can be seen as attack, where ref ballots is published,
everyone is using that as base ballot, and then ref ballot gets cancelled.
we still need to load it in state, otherwise it may block counting
honest ballots
@codecov
Copy link

codecov bot commented Sep 1, 2023

Codecov Report

Merging #4944 (b186575) into develop (5d25947) will increase coverage by 0.0%.
The diff coverage is 100.0%.

@@           Coverage Diff           @@
##           develop   #4944   +/-   ##
=======================================
  Coverage     77.1%   77.1%           
=======================================
  Files          263     263           
  Lines        30532   30537    +5     
=======================================
+ Hits         23558   23563    +5     
  Misses        5486    5486           
  Partials      1488    1488           
Files Changed Coverage Δ
tortoise/recover.go 48.5% <100.0%> (+2.6%) ⬆️

... and 3 files with indirect coverage changes

@countvonzero
Copy link
Contributor

bors merge

bors bot pushed a commit that referenced this pull request Sep 1, 2023
this can be seen as attack, where ref ballots is published, everyone is using that as base ballot, 
and then ref ballot gets cancelled. 
we still need to load it in state, otherwise it may block counting honest ballots
@bors
Copy link

bors bot commented Sep 1, 2023

Pull request successfully merged into develop.

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot changed the title tortoise: load ref ballots before other [Merged by Bors] - tortoise: load ref ballots before other Sep 1, 2023
@bors bors bot closed this Sep 1, 2023
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.

None yet

2 participants