mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 07:01:03 +00:00
Companion: Democracy add weight. (#1076)
This commit is contained in:
@@ -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! {
|
||||
|
||||
Reference in New Issue
Block a user