File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
pallets/subtensor/src/tests Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -505,8 +505,8 @@ fn test_coinbase_alpha_issuance_with_cap_trigger() {
505505 SubnetTAO :: < Test > :: insert ( netuid2, TaoCurrency :: from ( initial) ) ;
506506 SubnetAlphaIn :: < Test > :: insert ( netuid2, AlphaCurrency :: from ( initial_alpha) ) ; // Make price extremely low.
507507 // Set subnet prices.
508- SubnetMovingPrice :: < Test > :: insert ( netuid1, I96F32 :: from_num ( 1 ) ) ;
509- SubnetMovingPrice :: < Test > :: insert ( netuid2, I96F32 :: from_num ( 2 ) ) ;
508+ SubnetMovingPrice :: < Test > :: insert ( netuid1, I96F32 :: from_num ( 0. 1) ) ;
509+ SubnetMovingPrice :: < Test > :: insert ( netuid2, I96F32 :: from_num ( 0. 2) ) ;
510510 // Run coinbase
511511 SubtensorModule :: run_coinbase ( U96F32 :: from_num ( emission) ) ;
512512 // tao_in = 333_333
@@ -543,8 +543,8 @@ fn test_coinbase_alpha_issuance_with_cap_trigger_and_block_emission() {
543543 // Enable emission
544544 FirstEmissionBlockNumber :: < Test > :: insert ( netuid1, 0 ) ;
545545 FirstEmissionBlockNumber :: < Test > :: insert ( netuid2, 0 ) ;
546- SubnetMovingPrice :: < Test > :: insert ( netuid1, I96F32 :: from_num ( 1 ) ) ;
547- SubnetMovingPrice :: < Test > :: insert ( netuid2, I96F32 :: from_num ( 2 ) ) ;
546+ SubnetMovingPrice :: < Test > :: insert ( netuid1, I96F32 :: from_num ( 0. 1) ) ;
547+ SubnetMovingPrice :: < Test > :: insert ( netuid2, I96F32 :: from_num ( 0. 2) ) ;
548548
549549 // Force the swap to initialize
550550 SubtensorModule :: swap_tao_for_alpha (
You can’t perform that action at this time.
0 commit comments