This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Remove spam slots from runtime #6331
Labels
T5-parachains_protocol
This PR/Issue is related to Parachains features and protocol changes.
Changes are required in
paras-inherent
pallet1.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.
The text was updated successfully, but these errors were encountered: