We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 866f919 commit f75c781Copy full SHA for f75c781
pallets/subtensor/src/macros/dispatches.rs
@@ -120,9 +120,9 @@ mod dispatches {
120
/// - On failure for each failed item in the batch.
121
///
122
#[pallet::call_index(80)]
123
- #[pallet::weight((Weight::from_parts(19_330_000, 0)
124
- .saturating_add(T::DbWeight::get().reads(1_u64))
125
- .saturating_add(T::DbWeight::get().writes(0_u64)), DispatchClass::Normal, Pays::No))]
+ #[pallet::weight((Weight::from_parts(96_960_000, 0)
+ .saturating_add(T::DbWeight::get().reads(14_u64))
+ .saturating_add(T::DbWeight::get().writes(2_u64)), DispatchClass::Normal, Pays::No))]
126
pub fn batch_set_weights(
127
origin: OriginFor<T>,
128
netuids: Vec<Compact<NetUid>>,
0 commit comments