File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -131,17 +131,17 @@ mod benchmarks {
131131 ) ;
132132 }
133133
134- #[ benchmark]
135- fn toggle_user_liquidity ( ) {
136- let netuid = NetUid :: from ( 101 ) ;
134+ // #[benchmark]
135+ // fn toggle_user_liquidity() {
136+ // let netuid = NetUid::from(101);
137137
138- assert ! ( !EnabledUserLiquidity :: <T >:: get( netuid) ) ;
138+ // assert!(!EnabledUserLiquidity::<T>::get(netuid));
139139
140- #[ extrinsic_call]
141- toggle_user_liquidity ( RawOrigin :: Root , netuid. into ( ) , true ) ;
140+ // #[extrinsic_call]
141+ // toggle_user_liquidity(RawOrigin::Root, netuid.into(), true);
142142
143- assert ! ( EnabledUserLiquidity :: <T >:: get( netuid) ) ;
144- }
143+ // assert!(EnabledUserLiquidity::<T>::get(netuid));
144+ // }
145145
146146 impl_benchmark_test_suite ! ( Pallet , crate :: mock:: new_test_ext( ) , crate :: mock:: Test ) ;
147147}
You can’t perform that action at this time.
0 commit comments