Skip to content

Commit

Permalink
Update governance related constants
Browse files Browse the repository at this point in the history
  • Loading branch information
MRamanenkau committed Dec 6, 2023
1 parent 5f1e8d3 commit a507b87
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions runtime/cere-dev/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@ parameter_types! {
pub const LaunchPeriod: BlockNumber = 1 * 24 * 60 * MINUTES;
pub const VotingPeriod: BlockNumber = 1 * 24 * 60 * MINUTES;
pub const FastTrackVotingPeriod: BlockNumber = 3 * 60 * MINUTES;
pub const MinimumDeposit: Balance = 5000 * DOLLARS;
pub const MinimumDeposit: Balance = 50_000 * DOLLARS;
pub const EnactmentPeriod: BlockNumber = 1 * 24 * 60 * MINUTES;
pub const CooloffPeriod: BlockNumber = 7 * 24 * 60 * MINUTES;
pub const MaxProposals: u32 = 100;
Expand Down Expand Up @@ -802,11 +802,11 @@ impl pallet_collective::Config<CouncilCollective> for Runtime {
}

parameter_types! {
pub const CandidacyBond: Balance = 100 * DOLLARS;
pub const CandidacyBond: Balance = 5_000_000 * DOLLARS;
// 1 storage item created, key size is 32 bytes, value size is 16+16.
pub const VotingBondBase: Balance = deposit(1, 64);
pub const VotingBondFactor: Balance = 1 * DOLLARS;
pub const TermDuration: BlockNumber = 7 * DAYS;
pub const TermDuration: BlockNumber = 182 * DAYS;
pub const DesiredMembers: u32 = 13;
pub const DesiredRunnersUp: u32 = 20;
pub const ElectionsPhragmenPalletId: LockIdentifier = *b"phrelect";
Expand Down Expand Up @@ -876,12 +876,12 @@ impl pallet_membership::Config<pallet_membership::Instance1> for Runtime {

parameter_types! {
pub const ProposalBond: Permill = Permill::from_percent(5);
pub const ProposalBondMinimum: Balance = 100 * DOLLARS;
pub const ProposalBondMinimum: Balance = 50_000 * DOLLARS;
pub const SpendPeriod: BlockNumber = 1 * DAYS;
pub const Burn: Permill = Permill::from_percent(0);
pub const TipCountdown: BlockNumber = 1 * DAYS;
pub const TipFindersFee: Percent = Percent::from_percent(20);
pub const TipReportDepositBase: Balance = 1 * DOLLARS;
pub const TipReportDepositBase: Balance = 50_000 * DOLLARS;
pub const DataDepositPerByte: Balance = 1 * CENTS;
pub const TreasuryPalletId: PalletId = PalletId(*b"py/trsry");
pub const MaximumReasonLength: u32 = 16384;
Expand Down Expand Up @@ -916,7 +916,7 @@ impl pallet_treasury::Config for Runtime {
parameter_types! {
pub const BountyCuratorDeposit: Permill = Permill::from_percent(50);
pub const BountyValueMinimum: Balance = 10 * DOLLARS;
pub const BountyDepositBase: Balance = 1 * DOLLARS;
pub const BountyDepositBase: Balance = 50_000 * DOLLARS;
pub const CuratorDepositMultiplier: Permill = Permill::from_percent(50);
pub const CuratorDepositMin: Balance = 1 * DOLLARS;
pub const CuratorDepositMax: Balance = 100 * DOLLARS;
Expand Down
12 changes: 6 additions & 6 deletions runtime/cere/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ parameter_types! {
pub const LaunchPeriod: BlockNumber = 1 * 24 * 60 * MINUTES;
pub const VotingPeriod: BlockNumber = 1 * 24 * 60 * MINUTES;
pub const FastTrackVotingPeriod: BlockNumber = 3 * 60 * MINUTES;
pub const MinimumDeposit: Balance = 5000 * DOLLARS;
pub const MinimumDeposit: Balance = 50_000 * DOLLARS;
pub const EnactmentPeriod: BlockNumber = 1 * 24 * 60 * MINUTES;
pub const CooloffPeriod: BlockNumber = 7 * 24 * 60 * MINUTES;
pub const MaxProposals: u32 = 100;
Expand Down Expand Up @@ -801,11 +801,11 @@ impl pallet_collective::Config<CouncilCollective> for Runtime {
}

parameter_types! {
pub const CandidacyBond: Balance = 100 * DOLLARS;
pub const CandidacyBond: Balance = 5_000_000 * DOLLARS;
// 1 storage item created, key size is 32 bytes, value size is 16+16.
pub const VotingBondBase: Balance = deposit(1, 64);
pub const VotingBondFactor: Balance = 1 * DOLLARS;
pub const TermDuration: BlockNumber = 7 * DAYS;
pub const TermDuration: BlockNumber = 182 * DAYS;
pub const DesiredMembers: u32 = 13;
pub const DesiredRunnersUp: u32 = 20;
pub const ElectionsPhragmenPalletId: LockIdentifier = *b"phrelect";
Expand Down Expand Up @@ -875,12 +875,12 @@ impl pallet_membership::Config<pallet_membership::Instance1> for Runtime {

parameter_types! {
pub const ProposalBond: Permill = Permill::from_percent(5);
pub const ProposalBondMinimum: Balance = 100 * DOLLARS;
pub const ProposalBondMinimum: Balance = 50_000 * DOLLARS;
pub const SpendPeriod: BlockNumber = 1 * DAYS;
pub const Burn: Permill = Permill::from_percent(0);
pub const TipCountdown: BlockNumber = 1 * DAYS;
pub const TipFindersFee: Percent = Percent::from_percent(20);
pub const TipReportDepositBase: Balance = 1 * DOLLARS;
pub const TipReportDepositBase: Balance = 50_000 * DOLLARS;
pub const DataDepositPerByte: Balance = 1 * CENTS;
pub const TreasuryPalletId: PalletId = PalletId(*b"py/trsry");
pub const MaximumReasonLength: u32 = 16384;
Expand Down Expand Up @@ -915,7 +915,7 @@ impl pallet_treasury::Config for Runtime {
parameter_types! {
pub const BountyCuratorDeposit: Permill = Permill::from_percent(50);
pub const BountyValueMinimum: Balance = 10 * DOLLARS;
pub const BountyDepositBase: Balance = 1 * DOLLARS;
pub const BountyDepositBase: Balance = 50_000 * DOLLARS;
pub const CuratorDepositMultiplier: Permill = Permill::from_percent(50);
pub const CuratorDepositMin: Balance = 1 * DOLLARS;
pub const CuratorDepositMax: Balance = 100 * DOLLARS;
Expand Down

0 comments on commit a507b87

Please sign in to comment.