-
Notifications
You must be signed in to change notification settings - Fork 867
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
Update pallet election provider multi phase to support Block Number Provider #7515
base: master
Are you sure you want to change the base?
Update pallet election provider multi phase to support Block Number Provider #7515
Conversation
…n_provider_multi_phase_block_number_provider
@@ -298,6 +299,9 @@ pub type SolutionAccuracyOf<T> = | |||
/// The fallback election type. | |||
pub type FallbackErrorOf<T> = <<T as crate::Config>::Fallback as ElectionProviderBase>::Error; | |||
|
|||
pub type BlockNumberFor<T> = |
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.
please a doc for public item
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 this now
/// Provider for the block number. Normally this is the `frame_system` pallet. | ||
type BlockNumberProvider: BlockNumberProvider; |
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.
what is normally? I commented your the same doc from you #6297 (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.
i have doc properly now
…n_provider_multi_phase_block_number_provider # Conflicts: # substrate/frame/election-provider-multi-phase/src/lib.rs # substrate/frame/election-provider-multi-phase/src/unsigned.rs
This PR introduces BlockNumberProvider config for the election provider multi phase pallet.
closes part of #6297
Polkadot address: 12GyGD3QhT4i2JJpNzvMf96sxxBLWymz4RdGCxRH5Rj5agKW