File tree 7 files changed +962
-141
lines changed
7 files changed +962
-141
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ parameter_types! {
86
86
pub const InitialImmunityPeriod : u16 = 2 ;
87
87
pub const InitialMaxAllowedUids : u16 = 2 ;
88
88
pub const InitialBondsMovingAverage : u64 = 900_000 ;
89
- pub const InitialBondsPenalty : u16 = 0 ;
89
+ pub const InitialBondsPenalty : u16 = u16 :: MAX ;
90
90
pub const InitialStakePruningMin : u16 = 0 ;
91
91
pub const InitialFoundationDistribution : u64 = 0 ;
92
92
pub const InitialDefaultDelegateTake : u16 = 11_796 ; // 18% honest number.
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -3382,17 +3382,17 @@ fn test_dividend_distribution_with_children() {
3382
3382
"C should have pending emission of 1/9 of total emission"
3383
3383
) ;
3384
3384
3385
- let dividends_a = SubtensorModule :: get_dividends_distribution (
3385
+ let dividends_a = SubtensorModule :: get_parent_child_dividends_distribution (
3386
3386
& hotkey_a,
3387
3387
netuid,
3388
3388
hardcoded_emission. saturating_to_num :: < u64 > ( ) ,
3389
3389
) ;
3390
- let dividends_b = SubtensorModule :: get_dividends_distribution (
3390
+ let dividends_b = SubtensorModule :: get_parent_child_dividends_distribution (
3391
3391
& hotkey_b,
3392
3392
netuid,
3393
3393
hardcoded_emission. saturating_to_num :: < u64 > ( ) ,
3394
3394
) ;
3395
- let dividends_c = SubtensorModule :: get_dividends_distribution (
3395
+ let dividends_c = SubtensorModule :: get_parent_child_dividends_distribution (
3396
3396
& hotkey_c,
3397
3397
netuid,
3398
3398
hardcoded_emission. saturating_to_num :: < u64 > ( ) ,
@@ -3883,12 +3883,12 @@ fn test_dividend_distribution_with_children_same_coldkey_owner() {
3883
3883
) ;
3884
3884
3885
3885
// Get the distribution of dividends including the Parent/Child relationship.
3886
- let dividends_a = SubtensorModule :: get_dividends_distribution (
3886
+ let dividends_a = SubtensorModule :: get_parent_child_dividends_distribution (
3887
3887
& hotkey_a,
3888
3888
netuid,
3889
3889
hardcoded_emission. saturating_to_num :: < u64 > ( ) ,
3890
3890
) ;
3891
- let dividends_b = SubtensorModule :: get_dividends_distribution (
3891
+ let dividends_b = SubtensorModule :: get_parent_child_dividends_distribution (
3892
3892
& hotkey_b,
3893
3893
netuid,
3894
3894
hardcoded_emission. saturating_to_num :: < u64 > ( ) ,
You can’t perform that action at this time.
0 commit comments