-
Notifications
You must be signed in to change notification settings - Fork 789
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
title: Adds `BlockNumberProvider` in alliance, collective and identity pallets | ||
|
||
doc: | ||
- audience: Runtime Dev | ||
description: | | ||
This PR adds the ability for these pallets to specify their source of the block number. | ||
This is useful when these pallets are migrated from the relay chain to a parachain and | ||
vice versa. | ||
|
||
This change is backwards compatible: | ||
1. If the `BlockNumberProvider` continues to use the system pallet's block number | ||
2. When a pallet deployed on the relay chain is moved to a parachain, but still uses the | ||
relay chain's block number | ||
|
||
However, we would need migrations if the deployed pallets are upgraded on an existing parachain, | ||
and the `BlockNumberProvider` uses the relay chain block number. | ||
|
||
crates: | ||
- name: pallet-alliance | ||
bump: major | ||
- name: pallet-collective | ||
bump: major | ||
- name: pallet-identity | ||
bump: major | ||
|