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

Conversation

@Wizdave97
Copy link
Contributor

Companion PR to paritytech/substrate#10635

@Wizdave97 Wizdave97 force-pushed the david/mmr-batch-proof-gen branch from 449384b to 03b575a Compare April 13, 2022 15:28
@paritytech-ci paritytech-ci requested review from a team and removed request for adoerr April 13, 2022 15:29
@drahnr
Copy link
Contributor

drahnr commented Apr 19, 2022

Is there a particular reason we are not creating a dedicated error value named PalletNotIncluded rather than adding comments?

@acatangiu acatangiu added B0-silent Changes should not be mentioned in any release notes A4-companion A PR that needs a companion PR to merge in parallel for one of its downstream dependencies. C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit. labels Apr 19, 2022
@paritytech-ci paritytech-ci requested a review from a team April 19, 2022 10:58
@paritytech-ci paritytech-ci removed the request for review from antonio-dropulic April 20, 2022 12:56
@drahnr
Copy link
Contributor

drahnr commented Apr 21, 2022

Could you elaborate the rationale behind implementing the mmr API which only errors rather than omitting the implementation entirely? Where does the requirement having that trait in the runtime stem from, for those where it'd be error only?

@acatangiu
Copy link
Contributor

Could you elaborate the rationale behind implementing the mmr API which only errors rather than omitting the implementation entirely? Where does the requirement having that trait in the runtime stem from, for those where it'd be error only?

@andresilva or @tomusdrw might have the full context, but I believe BEEFY+MMR were previously deployed on all chains, then decided to be disabled and reworked, but the APIs kept in the runtimes for compatibility maybe?

I believe the thinking was they'd be relatively quickly re-enabled.

Right now, the timeline for BEEFY+MMR to reach Polkadot is end of this year with Kusama sooner.

If we remove the stubs now, and re-add them as fully functional APIs later would we need runtime upgrades? Not sure how big the hassle is and if it's worth it...

@paritytech-ci paritytech-ci requested a review from a team April 27, 2022 07:03
@paritytech-ci paritytech-ci requested a review from a team April 27, 2022 07:05
Copy link
Contributor

@drahnr drahnr left a comment

Choose a reason for hiding this comment

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

LGTM, besides the few minor nits mentioned

@paritytech-ci paritytech-ci requested a review from a team April 27, 2022 07:11
@acatangiu
Copy link
Contributor

@Wizdave97 please pull in latest polkadot/master

@acatangiu
Copy link
Contributor

@paritytech/polkadot-review runtime files are touched with trivial change, but 2 approvals from you are required nevertheless.

@Wizdave97
Copy link
Contributor Author

Wizdave97 commented Apr 28, 2022

@paritytech/polkadot-review runtime files are touched with trivial change, but 2 approvals from you are required nevertheless.

Merged the latest changes, can't seem to request reviews from the other required reviewers

@drahnr
Copy link
Contributor

drahnr commented Apr 28, 2022

CI still stumbles upon some of the changes (did not dig into it yet). I'll bug more reviewers once that's achieved.

@acatangiu
Copy link
Contributor

CI still stumbles upon some of the changes (did not dig into it yet). I'll bug more reviewers once that's achieved.

Makes sense.

Right now, the PR is as green as it can get for a companion.
The substrate PR, for which this is a companion, is 100% green: paritytech/substrate#10635

@drahnr
Copy link
Contributor

drahnr commented Apr 29, 2022

CI still stumbles upon some of the changes (did not dig into it yet). I'll bug more reviewers once that's achieved.

As a non-frequent companion user, I mixed things, that's not possible. Pinged people to review.

Copy link
Member

@eskimor eskimor left a comment

Choose a reason for hiding this comment

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

Approving runtime changes.

@acatangiu acatangiu changed the title Update MMR Runtime API Update MMR Runtime API - add proof batching Apr 29, 2022
@acatangiu
Copy link
Contributor

The required approves set is kinda tight:

usersToAskForReview Map(4) {
  'gavofyork' => { teams: Set(1) { 'locks-review' } },
  'shawntabrizi' => { teams: Set(1) { 'locks-review' } },
  'bkchr' => { teams: Set(1) { 'locks-review' } },
  'rphmeier' => { teams: Set(1) { 'locks-review' } }
}

@paritytech/locks-review please take a look, changes are trivial at the runtime level.

@paritytech-processbot
Copy link

Waiting for commit status.

@paritytech-processbot
Copy link

Merge cancelled due to error. Error: Statuses failed for b4523fe

@ordian
Copy link

ordian commented May 4, 2022

bot merge

@paritytech-processbot
Copy link

Waiting for commit status.

@paritytech-processbot paritytech-processbot bot merged commit f926bad into paritytech:master May 4, 2022
@Wizdave97 Wizdave97 deleted the david/mmr-batch-proof-gen branch May 4, 2022 11:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

A4-companion A PR that needs a companion PR to merge in parallel for one of its downstream dependencies. 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. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants