Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Remove spam slots from runtime #6331

@tdimitrov

Description

@tdimitrov

Changes are required in paras-inherent pallet
1.Filter out unconfirmed disputes during vote import - we don't want to record a dispute onchain until we are sure it is a valid one.
2. Never create a block with a dispute containing less votes than needed for confirmation.
3. Remove spam slots and all related configuration options.

Why we want this? Spam slots' purpose is to prevent malicious validators to push spam votes to the runtime and occupy precious block space. At the same time the slots occupy block space by themselves and complicate the dispute processing. If we guarantee that only confirmed disputes are imported onchain we take the best from both world - simple processing, less space occupied, no spam.

Metadata

Metadata

Assignees

Labels

T5-parachains_protocolThis PR/Issue is related to Parachains features and protocol changes.

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions