Update pallet macro migrations. (#8766)

* Update pallet macro migrations.

* Revert dispatchable call visibility changes.

* fmt
This commit is contained in:
Shaun Wang
2021-05-11 01:55:25 +12:00
committed by GitHub
parent f16f8def08
commit 9ae9267e9a
5 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -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(())
}
}
}