mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 19:21:13 +00:00
Fetch Babe configuration from runtime state (#11760)
* Fetch babe config data from runtime state * Some renaming * More renaming * Final nits * Fix tests and benches * Rename to in BabeConfiguration * Remove duplicate babe parameter description Already specified over the 'PRIMARY_PROBABILITY' constant value * trigger pipeline * trigger pipeline
This commit is contained in:
@@ -306,6 +306,7 @@ pub mod pallet {
|
||||
/// The configuration for the current epoch. Should never be `None` as it is initialized in
|
||||
/// genesis.
|
||||
#[pallet::storage]
|
||||
#[pallet::getter(fn epoch_config)]
|
||||
pub(super) type EpochConfig<T> = StorageValue<_, BabeEpochConfiguration>;
|
||||
|
||||
/// The configuration for the next epoch, `None` if the config will not change
|
||||
|
||||
Reference in New Issue
Block a user