chain-selection: allow reverting current block (#4103)
Block reversion of the current block is technically possible as can be seen from https://github.com/paritytech/polkadot-sdk/blob/39b1f50f/polkadot/runtime/parachains/src/disputes.rs#L1215-L1223 - [x] Fix the test
Showing
- polkadot/node/core/chain-selection/src/lib.rs 3 additions, 3 deletionspolkadot/node/core/chain-selection/src/lib.rs
- polkadot/node/core/chain-selection/src/tests.rs 39 additions, 4 deletionspolkadot/node/core/chain-selection/src/tests.rs
- polkadot/node/core/chain-selection/src/tree.rs 23 additions, 19 deletionspolkadot/node/core/chain-selection/src/tree.rs
Please register or sign in to comment