make all extrinsics public so they are available from outside (#9078)

Co-authored-by: thiolliere <gui.thiolliere@gmail.com>
This commit is contained in:
Alexander Popiak
2021-06-12 12:43:08 +02:00
committed by GitHub
parent ad5b8afa6e
commit 5dec6e5c81
21 changed files with 155 additions and 155 deletions
+2 -2
View File
@@ -488,7 +488,7 @@ pub mod pallet {
#[pallet::weight(
<T as pallet::Config>::WeightInfo::accumulate_dummy((*increase_by).saturated_into())
)]
pub(super) fn accumulate_dummy(
pub fn accumulate_dummy(
origin: OriginFor<T>,
increase_by: T::Balance
) -> DispatchResult {
@@ -533,7 +533,7 @@ pub mod pallet {
// The weight for this extrinsic we use our own weight object `WeightForSetDummy` to determine
// its weight
#[pallet::weight(WeightForSetDummy::<T>(<BalanceOf<T>>::from(100u32)))]
pub(super) fn set_dummy(
pub fn set_dummy(
origin: OriginFor<T>,
#[pallet::compact] new_value: T::Balance,
) -> DispatchResult {