Skip to content
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

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

dharjeezy
Copy link
Contributor

This PR introduces BlockNumberProvider config for the election provider multi phase pallet.
closes part of #6297

Polkadot address: 12GyGD3QhT4i2JJpNzvMf96sxxBLWymz4RdGCxRH5Rj5agKW

@dharjeezy dharjeezy changed the title Dami/pallet election provider multi phase block number provider Update pallet election provider multi phase to support Block Number Provider Feb 8, 2025
@@ -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> =
Copy link
Contributor

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

Comment on lines +718 to +719
/// Provider for the block number. Normally this is the `frame_system` pallet.
type BlockNumberProvider: BlockNumberProvider;
Copy link
Contributor

@muharem muharem Feb 11, 2025

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants