File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1346,13 +1346,13 @@ mod pallet_benchmarks {
13461346 hotkey. clone( )
13471347 ) ) ;
13481348
1349- // Read current price and set limit price 0.1 % higher, which is certainly getting hit
1350- // by swapping 100 TAO
1349+ // Read current price and set limit price 50 % higher, which is not getting hit
1350+ // by swapping 1 TAO
13511351 let current_price = T :: SwapInterface :: current_alpha_price ( netuid) ;
13521352 let limit = current_price
13531353 . saturating_mul ( U64F64 :: saturating_from_num ( 1_001_000_000 ) )
13541354 . saturating_to_num :: < u64 > ( ) ;
1355- let u64_staked_amt = 100_000_000_000 ;
1355+ let u64_staked_amt = 1_000_000_000 ;
13561356 Subtensor :: < T > :: add_balance_to_coldkey_account ( & coldkey. clone ( ) , u64_staked_amt) ;
13571357
13581358 assert_ok ! ( Subtensor :: <T >:: add_stake(
You can’t perform that action at this time.
0 commit comments