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 society to support Block Number Provider #6623

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

Conversation

dharjeezy
Copy link
Contributor

@dharjeezy dharjeezy commented Nov 23, 2024

This PR introduces BlockNumberProvider config for pallet society.
closes part of #6297

@dharjeezy dharjeezy requested a review from a team as a code owner November 23, 2024 10:22
@dharjeezy
Copy link
Contributor Author

can you help review this too @gui1117

Copy link
Contributor

@gui1117 gui1117 left a comment

Choose a reason for hiding this comment

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

Looks good to me

@gui1117 gui1117 added the T2-pallets This PR/Issue is related to a particular pallet. label Dec 2, 2024
doc:
- audience: Runtime Dev
description: |
This PR makes the society pallet uses the relay chain as a block provider for a parachain on a regular schedule.
Copy link
Contributor

Choose a reason for hiding this comment

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

It doesn't force the society pallet to use the relay chain block provider,

Suggested change
This PR makes the society pallet uses the relay chain as a block provider for a parachain on a regular schedule.
This PR makes the block number provider used in the society pallet configurable. Before this PR, society pallet always used the system block number, with this PR some runtime can opt to use the relay chain block number instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T2-pallets This PR/Issue is related to a particular pallet.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants