-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable async backing on Kusama #90
Enable async backing on Kusama #90
Conversation
6584e4a
to
83e1cc9
Compare
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.
Looks good, although I think we should now also bump the version of the trait to (7) - at least once we have this on Polkadot as well. @tdimitrov ?
@@ -2040,6 +2041,18 @@ sp_api::impl_runtime_apis! { | |||
key_ownership_proof, | |||
) | |||
} | |||
|
|||
fn minimum_backing_votes() -> u32 { | |||
parachains_runtime_api_impl::minimum_backing_votes::<Runtime>() |
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.
Formatting seems off.
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.
Done in 9f5cef4. Not sure why this wasn't caught by rustfmt.
When adapted the code from polkadot-fellows#88 I forgot to update the location of the credentials, so it was using review-bot which can only enable auto-merge but can not merge a ready to merge PR. Follow up to polkadot-fellows#97
a809bff
to
9f5cef4
Compare
Yes, but it is already done? |
I assume you mean 8? |
Co-authored-by: Tsvetomir Dimitrov <[email protected]>
No. I meant the trait itself, but this can only be done once we also launched on Polkadot: So disregard. |
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.
Expect chaos.
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.
How about enabling system parachains to use 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 but this is also done in #87
They won't be able to make use of it until we propose an update to the new parameters after this is enacted. Glutton is already upgraded in Polkadot-SDK. I'll move that here. Can your team upgrade the others? |
Yes |
This enables async backing in the Kusama runtime. Note that for candidates to actually be backed asynchronously, a subsequent governance proposal changing two new parameters is needed.