Enforce pub calls in pallets (#9085)

* make all extrinsics public so they are available from outside

* Impl

* fix

* more fix

* more pub

* few more

* merge fix

* fix ui test

* fix ui test

Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
Co-authored-by: Bastian Köcher <info@kchr.de>
This commit is contained in:
authored and GitHub committed 2021-06-12 16:15:21 +00:00
1 parent f21243e4e5
commit d31e607bda
32 files changed
+154 -78

No files matched your search

+2 -2
View File
@@ -45,7 +45,7 @@ pub mod logger {
#[pallet::call]
impl<T: Config> Pallet<T> {
#[pallet::weight(*weight)]
pub(crate) fn privileged_i32_log(
pub fn privileged_i32_log(
origin: OriginFor<T>,
i: i32,
weight: Weight
@@ -58,7 +58,7 @@ pub mod logger {
}
#[pallet::weight(*weight)]
pub(crate) fn non_privileged_log(
pub fn non_privileged_log(
origin: OriginFor<T>,
i: i32,
weight: Weight