Skip to content

double proposal detector#5120

Merged
shayzluf merged 9 commits into
masterfrom
detect_double_propose
Mar 19, 2020
Merged

double proposal detector#5120
shayzluf merged 9 commits into
masterfrom
detect_double_propose

Conversation

@shayzluf

Copy link
Copy Markdown
Contributor

[Part of] #5116

@shayzluf shayzluf changed the title proposal detector double proposal detector Mar 17, 2020
@shayzluf shayzluf requested review from 0xKiwi and rauljordan March 17, 2020 17:57
@codecov

codecov Bot commented Mar 17, 2020

Copy link
Copy Markdown

Codecov Report

❗ No coverage uploaded for pull request base (master@a9f4d1d). Click here to learn what that means.
The diff coverage is 14.81%.

@@           Coverage Diff            @@
##             master   #5120   +/-   ##
========================================
  Coverage          ?   2.67%           
========================================
  Files             ?     217           
  Lines             ?   15467           
  Branches          ?       0           
========================================
  Hits              ?     414           
  Misses            ?   15007           
  Partials          ?      46

Comment thread slasher/detection/service.go Outdated
Comment thread slasher/detection/proposals/detector.go Outdated
Comment thread slasher/detection/proposals/detector_test.go Outdated
Comment thread slasher/detection/proposals/detector.go
@shayzluf shayzluf mentioned this pull request Mar 18, 2020
4 tasks
@shayzluf shayzluf requested a review from rauljordan March 18, 2020 06:38
defer span.End()
epoch := helpers.SlotToEpoch(incomingBlk.Header.Slot)
//TODO(#5119) remove constand and use input from block header.
//validatorIdx:=blk.Header.ProposerIndex

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

? , why is it commented

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

we still don't have proposer index in the block header

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

would like to use stub till we get v0.11 merged

@shayzluf shayzluf merged commit 6fe814c into master Mar 19, 2020
@delete-merged-branch delete-merged-branch Bot deleted the detect_double_propose branch March 19, 2020 11:59
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.

3 participants