Skip to content

Commit 9e22239

Browse files
committed
make reg_network pays::yes
1 parent 635cdcf commit 9e22239

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
@@ -1195,7 +1195,7 @@ mod dispatches {
11951195
#[pallet::call_index(59)]
11961196
#[pallet::weight((Weight::from_parts(191_600_000, 0)
11971197
.saturating_add(T::DbWeight::get().reads(36))
1198-
.saturating_add(T::DbWeight::get().writes(52)), DispatchClass::Operational, Pays::No))]
1198+
.saturating_add(T::DbWeight::get().writes(52)), DispatchClass::Operational, Pays::Yes))]
11991199
pub fn register_network(origin: OriginFor<T>, hotkey: T::AccountId) -> DispatchResult {
12001200
Self::do_register_network(origin, &hotkey, 1, None)
12011201
}
@@ -1540,7 +1540,7 @@ mod dispatches {
15401540
#[pallet::call_index(79)]
15411541
#[pallet::weight((Weight::from_parts(185_500_000, 0)
15421542
.saturating_add(T::DbWeight::get().reads(35))
1543-
.saturating_add(T::DbWeight::get().writes(51)), DispatchClass::Operational, Pays::No))]
1543+
.saturating_add(T::DbWeight::get().writes(51)), DispatchClass::Operational, Pays::Yes))]
15441544
pub fn register_network_with_identity(
15451545
origin: OriginFor<T>,
15461546
hotkey: T::AccountId,

0 commit comments

Comments
 (0)