-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Update MMR Runtime API - add proof batching #4700
Update MMR Runtime API - add proof batching #4700
Conversation
449384b to
03b575a
Compare
|
Is there a particular reason we are not creating a dedicated error value named |
…r-batch-proof-gen
…r-batch-proof-gen
|
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... |
There was a problem hiding this 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
|
@Wizdave97 please pull in latest |
|
@paritytech/polkadot-review runtime files are touched with trivial change, but 2 approvals from you are required nevertheless. |
…r-batch-proof-gen
Merged the latest changes, can't seem to request reviews from the other required reviewers |
|
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. |
As a non-frequent companion user, I mixed things, that's not possible. Pinged people to review. |
eskimor
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving runtime changes.
|
The required approves set is kinda tight: @paritytech/locks-review please take a look, changes are trivial at the runtime level. |
…r-batch-proof-gen
|
Waiting for commit status. |
|
Merge cancelled due to error. Error: Statuses failed for b4523fe |
|
bot merge |
|
Waiting for commit status. |
Companion PR to paritytech/substrate#10635