Files
pezkuwi-subxt/prdoc/pr_2694.prdoc
T
Ankan ffb2125f4a [NPoS] Remove better solution threshold for unsigned submissions (#2694)
closes https://github.com/paritytech-secops/srlabs_findings/issues/78.

Removes `BetterUnsignedThreshold` from pallet EPM. This will essentially
mean any solution submitted by the validator that is strictly better
than the current queued solution would be accepted.

The reason for having these thresholds is to limit number of solutions
submitted on-chain. However for unsigned submissions, the number of
solutions that could be submitted on average is limited even without
thresholding (calculation shown in the corresponding issue).
2023-12-15 20:59:39 +01:00

15 lines
631 B
Plaintext

# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json
title: "pallet-election-provider-multi-phase: Removes `BetterUnsignedThreshold` from pallet config"
doc:
- audience: Runtime Dev
description: |
Removes thresholding for accepting solutions better than the last queued for unsigned phase. This is unnecessary
as even without thresholding, the number of solutions that can be submitted to on-chain which is better than the
previous one is limited.
crates:
- name: "pallet-election-provider-multi-phase"