mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-25 22:17:58 +00:00
c2d45e7e47
This PR makes the block number provider configurable through the Config trait in pallet-vesting, this gives parachains the option to use the relay chain block number provider from ParachainSystem. --------- Co-authored-by: Bastian Köcher <git@kchr.de>
10 lines
405 B
Plaintext
10 lines
405 B
Plaintext
title: Configurable block number provider in pallet-vesting
|
|
|
|
doc:
|
|
- audience: Runtime Dev
|
|
description: |
|
|
Adds `BlockNumberProvider` type to pallet-vesting Config trait, allowing for custom providers instead of hardcoding frame-system.
|
|
This is particularly useful for parachains wanting to use `cumulus_pallet_parachain_system::RelaychainDataProvider` with `pallet-vesting`.
|
|
|
|
crates: [ ]
|