@@ -167,7 +167,7 @@ impl<T: Config> Pallet<T> {
167
167
}
168
168
} )
169
169
. collect ( ) ;
170
- log:: trace !( "alpha_stake: {:?}" , alpha_stake) ;
170
+ log:: debug !( "alpha_stake: {:?}" , alpha_stake) ;
171
171
172
172
// Step 3: Calculate the global tao stake vector.
173
173
// Initialize a vector to store global tao stakes for each neuron.
@@ -322,7 +322,7 @@ impl<T: Config> Pallet<T> {
322
322
// Step 1: Retrieve the initial total stake (alpha) for the hotkey on the specified subnet.
323
323
let initial_alpha: I96F32 =
324
324
I96F32 :: saturating_from_num ( Self :: get_stake_for_hotkey_on_subnet ( hotkey, netuid) ) ;
325
- log:: trace !(
325
+ log:: debug !(
326
326
"Initial alpha for hotkey {:?} on subnet {}: {:?}" ,
327
327
hotkey,
328
328
netuid,
@@ -339,13 +339,13 @@ impl<T: Config> Pallet<T> {
339
339
// Step 2: Retrieve the lists of parents and children for the hotkey on the subnet.
340
340
let parents: Vec < ( u64 , T :: AccountId ) > = Self :: get_parents ( hotkey, netuid) ;
341
341
let children: Vec < ( u64 , T :: AccountId ) > = Self :: get_children ( hotkey, netuid) ;
342
- log:: trace !(
342
+ log:: debug !(
343
343
"Parents for hotkey {:?} on subnet {}: {:?}" ,
344
344
hotkey,
345
345
netuid,
346
346
parents
347
347
) ;
348
- log:: trace !(
348
+ log:: debug !(
349
349
"Children for hotkey {:?} on subnet {}: {:?}" ,
350
350
hotkey,
351
351
netuid,
@@ -370,7 +370,7 @@ impl<T: Config> Pallet<T> {
370
370
// Add this child's allocation to the total alpha allocated to children.
371
371
alpha_to_children = alpha_to_children. saturating_add ( alpha_proportion_to_child) ;
372
372
}
373
- log:: trace !( "Total alpha allocated to children: {:?}" , alpha_to_children) ;
373
+ log:: debug !( "Total alpha allocated to children: {:?}" , alpha_to_children) ;
374
374
375
375
// Step 4: Calculate the total alpha inherited from parents.
376
376
for ( proportion, parent) in parents {
@@ -403,7 +403,7 @@ impl<T: Config> Pallet<T> {
403
403
// Add this parent's contribution to the total alpha inherited from parents.
404
404
alpha_from_parents = alpha_from_parents. saturating_add ( alpha_proportion_from_parent) ;
405
405
}
406
- log:: trace !(
406
+ log:: debug !(
407
407
"Total alpha inherited from parents: {:?}" ,
408
408
alpha_from_parents
409
409
) ;
0 commit comments