Skip to content

Commit

Permalink
Add PrDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
gupnik committed Oct 30, 2024
1 parent 8dd0205 commit 81a9bd1
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions prdoc/pr_6282.prdoc
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

0 comments on commit 81a9bd1

Please sign in to comment.