Skip to content

Commit 9cbc5a2

Browse files
committed
Fix merge conflict
1 parent f4c0a66 commit 9cbc5a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pallets/admin-utils/src/benchmarking.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,15 +251,15 @@ mod benchmarks {
251251

252252
#[benchmark]
253253
fn sudo_set_hotkey_emission_tempo() {
254-
T::Subtensor::init_new_network(1u16 /*netuid*/, 1u16 /*sudo_tempo*/);
254+
pallet_subtensor::Pallet::<T>::init_new_network(1u16 /*netuid*/, 1u16 /*sudo_tempo*/);
255255

256256
#[extrinsic_call]
257257
_(RawOrigin::Root, 1u64/*emission_tempo*/)/*set_hotkey_emission_tempo*/;
258258
}
259259

260260
#[benchmark]
261261
fn sudo_set_network_max_stake() {
262-
T::Subtensor::init_new_network(1u16 /*netuid*/, 1u16 /*tempo*/);
262+
pallet_subtensor::Pallet::<T>::init_new_network(1u16 /*netuid*/, 1u16 /*tempo*/);
263263

264264
#[extrinsic_call]
265265
_(RawOrigin::Root, 1u16/*netuid*/, 1_000_000_000_000_000u64/*max_stake*/)/*sudo_set_network_max_stake*/;

0 commit comments

Comments
 (0)