File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
pallets/admin-utils/src/tests Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2900,7 +2900,7 @@ fn test_sudo_set_min_allowed_uids() {
29002900fn test_get_validator_cut ( ) {
29012901 new_test_ext ( ) . execute_with ( || {
29022902 let netuid = NetUid :: from ( 1 ) ;
2903- let expected_cut: u64 = 5000 ; // 50% cut
2903+ let expected_cut: u64 = u64 :: MAX / 2 ; // 50% cut
29042904
29052905 // Set up a network
29062906 add_network ( netuid, 10 ) ;
@@ -2919,7 +2919,7 @@ fn test_set_validator_cut() {
29192919 new_test_ext ( ) . execute_with ( || {
29202920 let netuid = NetUid :: from ( 2 ) ;
29212921 let initial_cut: u64 = pallet_subtensor:: DefaultValidatorCut :: < Test > :: get ( ) ;
2922- let new_cut: u64 = 7500 ; // 75 % cut
2922+ let new_cut: u64 = u64 :: MAX / 3 ; // 33 % cut
29232923
29242924 // Set up a network
29252925 add_network ( netuid, 10 ) ;
You can’t perform that action at this time.
0 commit comments