Skip to content
Unverified Commit 7c5224cb authored by gupnik's avatar gupnik Committed by GitHub
Browse files

Adds `BlockNumberProvider` in multisig, proxy and nft pallets (#5723)



Step in https://github.com/paritytech/polkadot-sdk/issues/3268

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.

---------

Co-authored-by: default avatarKian Paimani <[email protected]>
parent d8ce5502
Pipeline #506653 waiting for manual action with stages
in 32 minutes and 14 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment