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

Update BEEFY+MMR integration. #3480

Merged
merged 5 commits into from
Jul 16, 2021
Merged

Update BEEFY+MMR integration. #3480

merged 5 commits into from
Jul 16, 2021

Conversation

tomusdrw
Copy link
Contributor

This PR changes the way we construct merkle trees for parachains and BEEFY validator set.

Note that the pallet code that previously was part of common/src/mmr.rs is now part of BEEFY repository (paritytech/grandpa-bridge-gadget#236)

@tomusdrw tomusdrw requested a review from adoerr July 15, 2021 15:11
@ordian
Copy link
Member

ordian commented Jul 15, 2021

@drahnr could please help fixing spellcheck https://gitlab.parity.io/parity/polkadot/-/jobs/1016684?

@drahnr
Copy link
Contributor

drahnr commented Jul 15, 2021

@drahnr could please help fixing spellcheck https://gitlab.parity.io/parity/polkadot/-/jobs/1016684?

Working on a spellcheck fixing manifest, WIP.

For the particular CI failures:

error: spellcheck(Hunspell)
    --> /builds/parity/polkadot/runtime/rococo/src/lib.rs:858
     |
[2021-07-15T15:11:30Z WARN  cargo_spellcheck::suggestion] Unable to get terminal size. Using default: 80
 858 |  See [MmrLeafVersion] type documentation for more details.
     |       ^^^^^^^^^^^^^^
     |   Possible spelling mistake found.
error: spellcheck(Hunspell)
    --> /builds/parity/polkadot/runtime/rococo/src/lib.rs:858
     |
[2021-07-15T15:11:30Z INFO  cargo_spellcheck::action] ❌ /builds/parity/polkadot/runtime/rococo/src/lib.rs : 2
 858 |  See [MmrLeafVersion] type documentation for more details.
     |       ^^^^^^^^^^^^^^
     |   Possible spelling mistake found.

should become

[`MmrLeafVersion`]

@ordian which is why the pass currently is {"build_allow_failure":true} to avoid an hold-ups until the spellcheck-fixup manifest is complete

@tomusdrw tomusdrw 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. D2-notlive 💤 PR contains changes in a runtime directory that is not deployed to a chain that requires an audit. labels Jul 15, 2021
@tomusdrw
Copy link
Contributor Author

CC @musnit @philipstanislaus

Copy link

@philipstanislaus philipstanislaus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks 🙏

Copy link
Contributor

@adoerr adoerr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I did a smoke test with rococo-local.

@adoerr adoerr merged commit 0c670d8 into master Jul 16, 2021
@adoerr adoerr deleted the td-merkle branch July 16, 2021 13:13
ordian added a commit that referenced this pull request Jul 20, 2021
* master:
  Update secp256k1 and remove unrequired usage (#3502)
  Bump libc from 0.2.91 to 0.2.98 (#3496)
  Bump slotmap from 1.0.2 to 1.0.5 (#3495)
  Gossip rebroadcast rate limiter (#3494)
  dependabot: ignore another git dep (#3493)
  add rustfmt toml (#3491)
  Disputes runtime (#2947)
  Bump async-process from 1.0.1 to 1.1.0 (#3122)
  remove the kubernetes helm chart (#3483)
  added pallet-proxy in rococo feature dependencies (#3486)
  Update BEEFY+MMR integration. (#3480)
  more verbose asserts (#3476)
  ci: use srtool-actions to build runtimes (#3423)
  overseer gen minor chore fixes (#3479)
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. D2-notlive 💤 PR contains changes in a runtime directory that is not deployed to a chain that requires an audit.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants