mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 08:07:58 +00:00
Update pallet macro migrations. (#8766)
* Update pallet macro migrations. * Revert dispatchable call visibility changes. * fmt
This commit is contained in:
@@ -401,10 +401,10 @@ pub mod pallet {
|
||||
pub fn plan_config_change(
|
||||
origin: OriginFor<T>,
|
||||
config: NextConfigDescriptor,
|
||||
) -> DispatchResultWithPostInfo {
|
||||
) -> DispatchResult {
|
||||
ensure_root(origin)?;
|
||||
PendingEpochConfigChange::<T>::put(config);
|
||||
Ok(().into())
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user