-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Guide updates for disputes. #3401
Conversation
96d0e19 to
38f2ac0
Compare
roadmap/implementers-guide/src/node/disputes/dispute-participation.md
Outdated
Show resolved
Hide resolved
…tion.md Co-authored-by: Sergei Shulepov <[email protected]>
|
|
||
| Check DB for recorded votes for non concluded disputes we have not yet | ||
| recorded a local statement for. | ||
| For all of those send `DisputeParticipationMessage::Participate` message to |
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.
👍
roadmap/implementers-guide/src/node/disputes/dispute-coordinator.md
Outdated
Show resolved
Hide resolved
roadmap/implementers-guide/src/node/disputes/dispute-coordinator.md
Outdated
Show resolved
Hide resolved
| 13. If the dispute now has supermajority votes in the "invalid" direction, there | ||
| is no need to do anything explicitly. The actual rollback will be handled | ||
| during the active leaves update by observing digests from the runtime. |
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.
This diff contains changes to 'active-disputes' so we make a distinction between "recent" (everything in DISPUTE_WINDOW, concluded or not) and "active" (subset of recent which is either not concluded or was concluded within some small amount of time)
Due to this, we actually never prune anything from active-disputes until it's purged by session age.
The motivation of the change in #3348 is to make sure the provisioner can still provide votes that are submitted shortly after conclusion to the on-chain logic. Those votes will be rewarded less than earlier ones.
rphmeier
left a comment
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.
Changes look fine but we need to reconcile with #3348
|
@rphmeier - if it's fine with you, I would like to change plans and merge this now, as I am going to be on vacation tomorrow. |
Missing review remarks of dispute distribution guide PR and integration of dispute distribution into other subsystems.