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 4c9a3e2 commit b7e434cCopy full SHA for b7e434c
pallets/admin-utils/src/benchmarking.rs
@@ -356,6 +356,17 @@ mod benchmarks {
356
#[extrinsic_call]
357
_(RawOrigin::Root, 5u16/*version*/)/*sudo_set_commit_reveal_version()*/;
358
}
359
+
360
+ #[benchmark]
361
+ fn sudo_set_owner_immune_neuron_limit() {
362
+ pallet_subtensor::Pallet::<T>::init_new_network(
363
+ 1u16.into(), /*netuid*/
364
+ 1u16, /*sudo_tempo*/
365
+ );
366
367
+ #[extrinsic_call]
368
+ _(RawOrigin::Root, 1u16.into()/*netuid*/, 5u16/*immune_neurons*/)/*sudo_set_owner_immune_neuron_limit()*/;
369
+ }
370
371
#[benchmark]
372
fn sudo_trim_to_max_allowed_uids() {
0 commit comments