File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 11#![ cfg_attr( not( feature = "std" ) , no_std) ]
22#![ recursion_limit = "512" ]
33#![ allow( clippy:: too_many_arguments) ]
4+ #![ allow( clippy:: zero_prefixed_literal) ]
45// Edit this file to define custom logic or remove it if it is not needed.
56// Learn more about FRAME and the core library of Substrate FRAME pallets:
67// <https://docs.substrate.io/reference/frame-pallets/>
@@ -1902,7 +1903,6 @@ pub mod pallet {
19021903 /// Default VotingPower EMA alpha value (0.1 represented as u64 with 18 decimals)
19031904 /// alpha = 0.1 means slow response, 10% weight to new values per epoch
19041905 pub fn DefaultVotingPowerEmaAlpha < T : Config > ( ) -> u64 {
1905- #![ allow( clippy:: zero_prefixed_literal) ]
19061906 0_003_570_000_000_000_000 // 0.00357 * 10^18 = 2 weeks e-folding (time-constant) @ 361
19071907 // blocks per tempo
19081908 // After 2 weeks -> EMA reaches 63.2% of a step change
You can’t perform that action at this time.
0 commit comments