File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -867,6 +867,12 @@ pub mod pallet {
867867 50400
868868 }
869869
870+ #[ pallet:: type_value]
871+ /// Default value for ck burn, 18%.
872+ pub fn DefaultCKBurn < T : Config > ( ) -> u64 {
873+ u64:: MAX / 18
874+ }
875+
870876 #[ pallet:: storage]
871877 pub type MinActivityCutoff < T : Config > =
872878 StorageValue < _ , u16 , ValueQuery , DefaultMinActivityCutoff < T > > ;
@@ -921,7 +927,7 @@ pub mod pallet {
921927 pub type TaoWeight < T > = StorageValue < _ , u64 , ValueQuery , DefaultTaoWeight < T > > ;
922928 #[ pallet:: storage]
923929 /// --- ITEM --> CK burn
924- pub type CKBurn < T > = StorageValue < _ , u64 , ValueQuery , DefaultZeroU64 < T > > ;
930+ pub type CKBurn < T > = StorageValue < _ , u64 , ValueQuery , DefaultCKBurn < T > > ;
925931 #[ pallet:: storage]
926932 /// --- ITEM ( default_delegate_take )
927933 pub type MaxDelegateTake < T > = StorageValue < _ , u16 , ValueQuery , DefaultDelegateTake < T > > ;
You can’t perform that action at this time.
0 commit comments