From 4220503d28f46a72c2bc71f22e7d9708618f9c68 Mon Sep 17 00:00:00 2001
From: Andrei Sandu <54316454+sandreim@users.noreply.github.com>
Date: Tue, 30 Jan 2024 23:55:02 +0200
Subject: [PATCH] Chore: link code TODO for removing redundant message
 information (#3126)

fixes #675

---------

Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
---
 polkadot/node/network/protocol/src/lib.rs | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/polkadot/node/network/protocol/src/lib.rs b/polkadot/node/network/protocol/src/lib.rs
index ae72230ee43..7a0ff9f4fa9 100644
--- a/polkadot/node/network/protocol/src/lib.rs
+++ b/polkadot/node/network/protocol/src/lib.rs
@@ -895,7 +895,10 @@ pub mod v3 {
 		/// candidate index.
 		///
 		/// Actually checking the assignment may yield a different result.
-		/// TODO: Look at getting rid of bitfield in the future.
+		///
+		/// TODO at next protocol upgrade opportunity:
+		/// - remove redundancy `candidate_index` vs `core_index`
+		/// - `<https://github.com/paritytech/polkadot-sdk/issues/675>`
 		#[codec(index = 0)]
 		Assignments(Vec<(IndirectAssignmentCertV2, CandidateBitfield)>),
 		/// Approvals for candidates in some recent, unfinalized block.
-- 
GitLab