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

guide: more robust approval counting procedure #2378

Merged
merged 6 commits into from
Feb 7, 2021

Conversation

rphmeier
Copy link
Contributor

@rphmeier rphmeier commented Feb 4, 2021

Based on review from @burdges on #1975 and subsequent conversation.

There was an attack vector where malicious validators could broadcast early for tranches e.g. 2, 3, 4 and then DoS tranche 0 validators, making them perceived as no-shows. And then take over all the slots and approve something bad.

@rphmeier rphmeier added A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. labels Feb 4, 2021
@rphmeier rphmeier closed this Feb 4, 2021
@rphmeier rphmeier reopened this Feb 4, 2021
@burdges
Copy link
Contributor

burdges commented Feb 5, 2021

It looks correct, just one example sentence I'd trouble parsing properly.

@rphmeier rphmeier merged commit 1cbea56 into master Feb 7, 2021
@rphmeier rphmeier deleted the rh-approval-voting-guide branch February 7, 2021 22:21
ordian added a commit that referenced this pull request Feb 11, 2021
* master:
  Implement Approval Voting Subsystem (#2112)
  Introduce PerPeerSet utility that allows to segrate based on PeerSet (#2420)
  [CI] Move check_labels to github actions (#2415)
  runtime: set equivocation report longevity (#2404)
  Companion for #7936: Migrate pallet-balances to pallet attribute macro (#2331)
  Corrected Physical (#2414)
  validator_discovery: cache by (Hash, ParaId) (#2402)
  Enable wasmtime caching for PVF (companion for #8057) (#2387)
  Use construct_runtime in tests, remove default PalletInfo impl (#2409)
  validator_discovery: pass PeerSet to the request (#2372)
  guide: more robust approval counting procedure (#2378)
  Publish rococo on every push to `rococo-v1` branch (#2388)
  Bump trie-db from 0.22.2 to 0.22.3 (#2344)
  Send view to new peers (#2392)
ordian added a commit that referenced this pull request Feb 11, 2021
* master:
  Implement Approval Voting Subsystem (#2112)
  Introduce PerPeerSet utility that allows to segrate based on PeerSet (#2420)
  [CI] Move check_labels to github actions (#2415)
  runtime: set equivocation report longevity (#2404)
  Companion for #7936: Migrate pallet-balances to pallet attribute macro (#2331)
  Corrected Physical (#2414)
  validator_discovery: cache by (Hash, ParaId) (#2402)
  Enable wasmtime caching for PVF (companion for #8057) (#2387)
  Use construct_runtime in tests, remove default PalletInfo impl (#2409)
  validator_discovery: pass PeerSet to the request (#2372)
  guide: more robust approval counting procedure (#2378)
  Publish rococo on every push to `rococo-v1` branch (#2388)
  Bump trie-db from 0.22.2 to 0.22.3 (#2344)
  Send view to new peers (#2392)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants