Skip to content

Regression in DataColumnsByRange responses (duplicates included) #8842

@michaelsproul

Description

@michaelsproul

Description

This line is wrong:

// remove all skip slots i.e. duplicated roots
Ok(block_roots.into_iter().unique().collect::<Vec<_>>())

Regression was introduced in:

The method previously returned Vec<Hash256> which de-duplicated correctly. But now returns Vec<(Hash256, Slot)> which does not de-duplicate blocks correctly because the slots are unique. This results in duplicate columns being served to peers, and down-scoring by those peers (DuplicatedData errors).

Version

This is a bug in v8.1.0 only.

Metadata

Metadata

Assignees

Labels

v8.1.1Hotfix for v8.1.0

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions