This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Update disputes prioritisation in dispute-coordinator
#6130
Merged
Merged
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
56731cf
Scraper processes CandidateBacked events
tdimitrov 056a606
Change definition of best-effort
tdimitrov 9794e99
Fix `dispute-coordinator` tests
tdimitrov d44055e
Unit test for dispute filtering
tdimitrov 032475a
Clarification comment
tdimitrov a70d7d8
Add tests
tdimitrov 8bafd7a
Fix logic
tdimitrov dd6fbc0
Add metrics for refrained participations
tdimitrov baa7e20
Revert "Add tests"
tdimitrov d7af3f7
Revert "Unit test for dispute filtering"
tdimitrov 18f7a14
fix dispute-coordinator tests
tdimitrov b82df59
Fix scraping
tdimitrov 1523bce
new tests
tdimitrov 2c6272f
Small fixes in guide
tdimitrov cd42bcb
Apply suggestions from code review
tdimitrov 0551b7c
Fix some comments and remove a pointless test
tdimitrov 2906d2a
Code review feedback
tdimitrov eaa250f
Clarification comment in tests
tdimitrov 9b40f11
Some tests
tdimitrov 7e3040b
Reference counted `CandidateHash` in scraper
tdimitrov 77cc49e
Proper handling for Backed and Included candidates in scraper
tdimitrov dcd0465
Update comments in tests
tdimitrov f925dd3
Guide update
tdimitrov 9dd091a
Fix cleanup logic for `backed_candidates_by_block_number`
tdimitrov e533e6d
Simplify cleanup
tdimitrov fcb99d0
Merge branch 'master' into disputes-backed
tdimitrov 56f4e2a
Make spellcheck happy
tdimitrov aecc3e0
Update tests
tdimitrov a97e29a
Extract candidate backing logic in separate struct
tdimitrov d29b300
Code review feedback
tdimitrov 0d498dc
Treat backed and included candidates in the same fashion
tdimitrov 40b4115
Update some comments
tdimitrov 4c030a1
Small improvements in test
tdimitrov 76bca96
spell check
tdimitrov a57ffaa
Fix some more comments
tdimitrov f9a4407
clean -> prune
tdimitrov c441720
Code review feedback
tdimitrov f283517
Reword comment
tdimitrov f7393a7
spelling
tdimitrov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix some more comments
- Loading branch information
commit a57ffaa270fd3ea77d8f510aa4cfd95e566dc687
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
What is an example of a dispute for which we've already pruned the backed/included candidates but would still want to participate? Maybe confirmed disputes? I'm just trying to sort out why we say 'low priority' rather than that the dispute is dropped.
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.
Yes, we would still queue participation for such a dispute if it suddenly got confirmed. But honestly that comment does not really add value here. This is the chain scraper, it should only be concerned about having scraped information ready, not about the priority a participation gets queued with.