Unverified Commit 235fff77 authored by thiolliere's avatar thiolliere Committed by GitHub
Browse files

Companion: Democracy add weight. (#1076)

parent a7e57551
Pipeline #92793 passed with stages
in 26 minutes and 32 seconds
This diff is collapsed.
......@@ -337,6 +337,7 @@ parameter_types! {
// One cent: $10,000 / MB
pub const PreimageByteDeposit: Balance = 10 * MILLICENTS;
pub const InstantAllowed: bool = true;
pub const MaxVotes: u32 = 100;
}
impl democracy::Trait for Runtime {
......@@ -369,6 +370,7 @@ impl democracy::Trait for Runtime {
type PreimageByteDeposit = PreimageByteDeposit;
type Slash = Treasury;
type Scheduler = Scheduler;
type MaxVotes = MaxVotes;
}
parameter_types! {
......
......@@ -342,6 +342,7 @@ parameter_types! {
// One cent: $10,000 / MB
pub const PreimageByteDeposit: Balance = 1 * CENTS;
pub const InstantAllowed: bool = false;
pub const MaxVotes: u32 = 100;
}
impl democracy::Trait for Runtime {
......@@ -374,6 +375,7 @@ impl democracy::Trait for Runtime {
type PreimageByteDeposit = PreimageByteDeposit;
type Slash = Treasury;
type Scheduler = Scheduler;
type MaxVotes = MaxVotes;
}
parameter_types! {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment