File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
pallets/subtensor/src/tests Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -3514,9 +3514,6 @@ fn test_dynamic_parent_child_relationships() {
3514
3514
version_key
3515
3515
) ) ;
3516
3516
3517
- // Run first epoch
3518
- let hardcoded_emission: u64 = 1_000_000 ;
3519
-
3520
3517
// Step blocks to allow for emission distribution
3521
3518
step_block ( 11 ) ;
3522
3519
step_rate_limit ( & TransactionType :: SetChildren , netuid) ;
@@ -3552,8 +3549,8 @@ fn test_dynamic_parent_child_relationships() {
3552
3549
let stake_child2_2: u64 =
3553
3550
SubtensorModule :: get_inherited_for_hotkey_on_subnet ( & child2, netuid) ;
3554
3551
let total_parent_stake = SubtensorModule :: get_stake_for_hotkey_on_subnet ( & parent, netuid) ;
3555
- let total_child1_stake = SubtensorModule :: get_stake_for_hotkey_on_subnet ( & child1, netuid) ;
3556
- let total_child2_stake = SubtensorModule :: get_stake_for_hotkey_on_subnet ( & child2, netuid) ;
3552
+ let _total_child1_stake = SubtensorModule :: get_stake_for_hotkey_on_subnet ( & child1, netuid) ;
3553
+ let _total_child2_stake = SubtensorModule :: get_stake_for_hotkey_on_subnet ( & child2, netuid) ;
3557
3554
3558
3555
log:: info!( "Final stakes:" ) ;
3559
3556
log:: info!( "Parent stake: {}" , stake_parent_2) ;
You can’t perform that action at this time.
0 commit comments