-
Notifications
You must be signed in to change notification settings - Fork 709
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
BEEFY: Define basic fisherman #4328
Conversation
Define basic fisherman structure containing 2 methods: - report_equivocation() was just moved from BeefyWorker. - prove_offenders() is an adaptation of the previous logic for generating key ownership proofs that was part of BeefyWorker::report_equivocation() in oreder to make it more generic. It is used by report_equivocation() now and it will be also needed for reporting signed commitment equivocations in the future.
ad84d54
to
113658d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, fwiw
b8593cc
This is not |
Solrry, I didn't know that renamings need to be mentioned in the CHANGELOR/PR doc. I see that 1.12 is already released. So is it worth doing the version bump no, and adding a PR, or is it just something to know in the future ? |
Related to paritytech#1903 For paritytech#1903 we will need to add a Fisherman struct. This PR: - defines a basic version of `Fisherman` and moves into it the logic that we have now for reporting double voting equivocations - splits the logic for generating the key ownership proofs into a more generic separate method - renames `EquivocationProof` to `DoubleVotingProof` since later we will introduce a new type of equivocation The PR doesn't contain any functional changes
Related to #1903
For #1903 we will need to add a Fisherman struct. This PR:
Fisherman
and moves into it the logic that we have now for reporting double voting equivocationsEquivocationProof
toDoubleVotingProof
since later we will introduce a new type of equivocationThe PR doesn't contain any functional changes