You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR adds compile-time tests using try_build to validate invariants enforced on registered precompiles. The tests ensure collision detection and related compile-time checks are correctly triggered and remain enforced.
sp-arithmetic was bumped in a previous PR but not published yet on crates.io.
6
+
Both polkadot-runtime-common (already bumped and not released in a previous PR) and pallet-staking-reward-fn depend on it.
7
+
Bump pallet-staking-reward-fn so that parity-publish CI job can correctly resolve sp-arithmetic.
8
+
Without this fix, we would end up with a dependency graph with two versions of sp-arithmetic with one of the two missing a trait impl needed by polkadot-runtime-common.
title: 'collator-protocol: Remove stale pending collations from the waiting queue'
2
+
doc:
3
+
- audience: Node Dev
4
+
description: |-
5
+
This PR removes the stale pending collations from the waiting queue when the peer that advertised the collation disconnects.
6
+
7
+
When the peer reconnects, the peer data is freshly created without any prior information about advertised collations.
8
+
Then the state-pending collation is picked from the queue. The network request will not be emitted since the `fn fetch_collation` sees no prior advertisement via `peer_data.has_advertised` and returns `Err(FetchError::NotAdvertised)`.
9
+
10
+
To avoid this, remove the stale entries immediately when the peer disconnects.
0 commit comments