Only report concluded if there is an actual dispute. (#6270)
* Only report concluded if there is an actual dispute.
Hence no "non"-disputes will be added to disputes anymore.
* Fix redundant check.
* Test for no onesided disputes.
Co-authored-by:
eskimor <eskimor@no-such-url.com>
Showing
- polkadot/node/core/dispute-coordinator/src/import.rs 50 additions, 66 deletionspolkadot/node/core/dispute-coordinator/src/import.rs
- polkadot/node/core/dispute-coordinator/src/initialized.rs 28 additions, 37 deletionspolkadot/node/core/dispute-coordinator/src/initialized.rs
- polkadot/node/core/dispute-coordinator/src/tests.rs 62 additions, 0 deletionspolkadot/node/core/dispute-coordinator/src/tests.rs
- polkadot/node/primitives/src/disputes/message.rs 3 additions, 0 deletionspolkadot/node/primitives/src/disputes/message.rs
- polkadot/node/primitives/src/disputes/status.rs 23 additions, 4 deletionspolkadot/node/primitives/src/disputes/status.rs
Please register or sign in to comment