Clean runtime constants (#3459)

* Remove bogus constants.

* Bump.
This commit is contained in:
Kian Paimani
2019-08-24 18:00:26 +02:00
committed by Bastian Köcher
parent e9273329ae
commit c14afe4352
6 changed files with 3 additions and 35 deletions
-10
View File
@@ -138,18 +138,8 @@ pub type VoteIndex = u32;
// all three must be in sync.
type ApprovalFlag = u32;
pub const APPROVAL_FLAG_MASK: ApprovalFlag = 0x8000_0000;
pub const APPROVAL_FLAG_LEN: usize = 32;
pub const DEFAULT_CANDIDACY_BOND: u32 = 9;
pub const DEFAULT_VOTING_BOND: u32 = 0;
pub const DEFAULT_VOTING_FEE: u32 = 0;
pub const DEFAULT_PRESENT_SLASH_PER_VOTER: u32 = 1;
pub const DEFAULT_CARRY_COUNT: u32 = 2;
pub const DEFAULT_INACTIVE_GRACE_PERIOD: u32 = 1;
pub const DEFAULT_VOTING_PERIOD: u32 = 1000;
pub const DEFAULT_DECAY_RATIO: u32 = 24;
pub trait Trait: system::Trait {
type Event: From<Event<Self>> + Into<<Self as system::Trait>::Event>;