paras: fix upgrade restriction signal (#4603)
Closes #3971 Read the linked issue. Apart from that, this addresses the concern raised in this [comment] by just adding a test. I couldn't find a clean way to reconcile a block number delay with a PVF voting TTL, so I just resorted to rely on the test. Should be fine for now. [comment]: https://github.com/paritytech/polkadot/pull/4457#discussion_r770517562
Showing
- polkadot/runtime/parachains/src/dmp.rs 2 additions, 2 deletionspolkadot/runtime/parachains/src/dmp.rs
- polkadot/runtime/parachains/src/hrmp.rs 1 addition, 1 deletionpolkadot/runtime/parachains/src/hrmp.rs
- polkadot/runtime/parachains/src/inclusion/tests.rs 1 addition, 1 deletionpolkadot/runtime/parachains/src/inclusion/tests.rs
- polkadot/runtime/parachains/src/initializer.rs 2 additions, 2 deletionspolkadot/runtime/parachains/src/initializer.rs
- polkadot/runtime/parachains/src/paras.rs 108 additions, 11 deletionspolkadot/runtime/parachains/src/paras.rs
- polkadot/runtime/parachains/src/scheduler.rs 2 additions, 2 deletionspolkadot/runtime/parachains/src/scheduler.rs
Please register or sign in to comment