Issue 4804: Notify chain selection of concluded disputes directly (#6512)
* Setting up new ChainSelectionMessage * Partial first pass * Got dispute conclusion data to provisioner * Finished first draft for 4804 code * A bit of polish and code comments * cargo fmt * Implementers guide and code comments * More formatting, and naming issues * Wrote test for ChainSelection side of change * Added dispute coordinator side test * FMT * Addressing Marcin's comments * fmt * Addressing further Marcin comment * Removing unnecessary test line * Rough draft addressing Robert changes * Clean up and test modification * Majorly refactored scraper change * Minor fixes for ChainSelection * Polish and fmt * Condensing inclusions per candidate logic * Addressing Tsveto's comments * Addressing Robert's Comments * Altered inclusions struct to use nested BTreeMaps * Naming fix * Fixing inclusions struct comments * Update node/core/dispute-coordinator/src/scraping/mod.rs Add comment to split_off() use Co-authored-by:Marcin S. <marcin@bytedude.com> * Optimizing removal at block height for inclusions * fmt * Using copy trait Co-authored-by:
Marcin S. <marcin@bytedude.com>
Showing
- polkadot/node/core/chain-selection/src/lib.rs 19 additions, 0 deletionspolkadot/node/core/chain-selection/src/lib.rs
- polkadot/node/core/chain-selection/src/tests.rs 103 additions, 0 deletionspolkadot/node/core/chain-selection/src/tests.rs
- polkadot/node/core/chain-selection/src/tree.rs 70 additions, 33 deletionspolkadot/node/core/chain-selection/src/tree.rs
- polkadot/node/core/dispute-coordinator/src/initialized.rs 17 additions, 1 deletionpolkadot/node/core/dispute-coordinator/src/initialized.rs
- polkadot/node/core/dispute-coordinator/src/scraping/candidates.rs 4 additions, 1 deletion.../node/core/dispute-coordinator/src/scraping/candidates.rs
- polkadot/node/core/dispute-coordinator/src/scraping/mod.rs 86 additions, 3 deletionspolkadot/node/core/dispute-coordinator/src/scraping/mod.rs
- polkadot/node/core/dispute-coordinator/src/scraping/tests.rs 70 additions, 0 deletionspolkadot/node/core/dispute-coordinator/src/scraping/tests.rs
- polkadot/node/core/dispute-coordinator/src/tests.rs 150 additions, 1 deletionpolkadot/node/core/dispute-coordinator/src/tests.rs
- polkadot/node/overseer/src/lib.rs 1 addition, 0 deletionspolkadot/node/overseer/src/lib.rs
- polkadot/node/subsystem-types/src/messages.rs 3 additions, 0 deletionspolkadot/node/subsystem-types/src/messages.rs
- polkadot/roadmap/implementers-guide/src/node/disputes/dispute-coordinator.md 7 additions, 5 deletions...plementers-guide/src/node/disputes/dispute-coordinator.md
- polkadot/roadmap/implementers-guide/src/node/utility/chain-selection.md 5 additions, 0 deletions...ap/implementers-guide/src/node/utility/chain-selection.md
Please register or sign in to comment