mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-22 19:56:20 +00:00
Democracy weight (#5828)
This commit is contained in:
1 parent
be8c96adec
commit
1dbd761192
12 files changed
+742
-240
No files matched your search
@@ -344,6 +344,7 @@ parameter_types! {
|
||||
pub const CooloffPeriod: BlockNumber = 28 * 24 * 60 * MINUTES;
|
||||
// One cent: $10,000 / MB
|
||||
pub const PreimageByteDeposit: Balance = 1 * CENTS;
|
||||
pub const MaxVotes: u32 = 100;
|
||||
}
|
||||
|
||||
impl pallet_democracy::Trait for Runtime {
|
||||
@@ -376,6 +377,7 @@ impl pallet_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