File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -330,9 +330,9 @@ pub mod pallet {
330330 /// Enum for the per-coldkey root claim setting.
331331 pub enum RootClaimTypeEnum {
332332 /// Swap any alpha emission for TAO.
333- #[ default]
334333 Swap ,
335334 /// Keep all alpha emission.
335+ #[ default]
336336 Keep ,
337337 /// Keep all alpha emission for specified subnets.
338338 KeepSubnets {
Original file line number Diff line number Diff line change @@ -1816,3 +1816,12 @@ fn test_claim_root_keep_subnets_swap_claim_type() {
18161816 ) ;
18171817 } ) ;
18181818}
1819+
1820+ #[ test]
1821+ fn test_claim_root_default_mode_keep ( ) {
1822+ new_test_ext ( 1 ) . execute_with ( || {
1823+ let coldkey = U256 :: from ( 1003 ) ;
1824+
1825+ assert_eq ! ( RootClaimType :: <Test >:: get( coldkey) , RootClaimTypeEnum :: Keep ) ;
1826+ } ) ;
1827+ }
You can’t perform that action at this time.
0 commit comments