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

backing: reorder votes to match bitfield in backed candidate #2006

Merged
merged 1 commit into from
Nov 24, 2020

Conversation

rphmeier
Copy link
Contributor

fixes a bug raised by @pepyakin and adds a test case that failed before and passes now.

@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 Nov 24, 2020
@pepyakin
Copy link
Contributor

pepyakin commented Nov 24, 2020

I've checked this fix (although with my local implementation of the fix) and it worked without any inherent problems. Thus, can you also remove this one?

@rphmeier
Copy link
Contributor Author

I've checked this fix (although with my local implementation of the fix) and it worked without any inherent problems. Thus, can you also remove this one?

That is a separate thing, which I don't feel comfortable removing at this time. If there is a bug in candidate backing or bitfield selection which causes the validators to always attempt to author blocks with invalid inherent, I would rather halt all parachains than halt the relay chain.

@rphmeier rphmeier merged commit ede1959 into master Nov 24, 2020
@rphmeier rphmeier deleted the rh-fix-backing-order branch November 24, 2020 15:23
ordian added a commit that referenced this pull request Nov 24, 2020
* master:
  backing: reorder votes to match bitfield in backed candidate (#2006)
  Switch to wasm-builder 3.0.0 (#2004)
  Make sure we inform statement listeners about received statements (#1999)
  Update docker.md (#2000)
  Bump tracing from 0.1.21 to 0.1.22 (#2001)
  Bump assert_cmd from 1.0.1 to 1.0.2 (#2003)
  Bump color-eyre from 0.5.7 to 0.5.8 (#2002)
  *: Update authority discovery and remove WorkerConfig (#1953)
  companion for substrate#7546 (#1954)
ordian added a commit that referenced this pull request Nov 24, 2020
* master:
  backing: reorder votes to match bitfield in backed candidate (#2006)
  Switch to wasm-builder 3.0.0 (#2004)
  Make sure we inform statement listeners about received statements (#1999)
  Update docker.md (#2000)
  Bump tracing from 0.1.21 to 0.1.22 (#2001)
  Bump assert_cmd from 1.0.1 to 1.0.2 (#2003)
  Bump color-eyre from 0.5.7 to 0.5.8 (#2002)
  *: Update authority discovery and remove WorkerConfig (#1953)
  companion for substrate#7546 (#1954)
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.

4 participants