Skip to content

Commit 3d5a12a

Browse files
committed
Revert "add pays::yes to register and burned_register"
This reverts commit b80ff2b.
1 parent b80ff2b commit 3d5a12a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pallets/subtensor/src/macros/dispatches.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,7 @@ mod dispatches {
891891
#[pallet::call_index(6)]
892892
#[pallet::weight((Weight::from_parts(161_800_000, 0)
893893
.saturating_add(T::DbWeight::get().reads(26))
894-
.saturating_add(T::DbWeight::get().writes(23)), DispatchClass::Normal, Pays::Yes))]
894+
.saturating_add(T::DbWeight::get().writes(23)), DispatchClass::Normal, Pays::No))]
895895
pub fn register(
896896
origin: OriginFor<T>,
897897
netuid: NetUid,
@@ -926,7 +926,7 @@ mod dispatches {
926926
#[pallet::call_index(7)]
927927
#[pallet::weight((Weight::from_parts(278_400_000, 0)
928928
.saturating_add(T::DbWeight::get().reads(49))
929-
.saturating_add(T::DbWeight::get().writes(43)), DispatchClass::Normal, Pays::Yes))]
929+
.saturating_add(T::DbWeight::get().writes(43)), DispatchClass::Normal, Pays::No))]
930930
pub fn burned_register(
931931
origin: OriginFor<T>,
932932
netuid: NetUid,

0 commit comments

Comments
 (0)