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.
Limit dispute votes in the provisioner #4329
Closed
Description
Currently dispute vote limiting is done by the block producer as an off-chain call into the runtime of create_inherent
. This includes a lot of dispute votes, it's anticipated that we pass a lot more than we'd actually need and hence waste time.
The checks must remain in the runtime's on-chain and off-chain logic, but pre-limiting the votes based on concluded disputes can reduce block production time.