Skip to content

Commit

Permalink
Merge pull request #769 from galacticcouncil/fix/governance
Browse files Browse the repository at this point in the history
fix: update tip execution delay and council voting params
  • Loading branch information
mrq1911 authored Feb 22, 2024
2 parents 3f66e43 + cd92d90 commit 7ac267b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion runtime/hydradx/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hydradx-runtime"
version = "211.0.0"
version = "212.0.0"
authors = ["GalacticCouncil"]
edition = "2021"
license = "Apache 2.0"
Expand Down
8 changes: 4 additions & 4 deletions runtime/hydradx/src/governance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -268,9 +268,9 @@ parameter_types! {
pub const DesiredMembers: u32 = 13;
pub const DesiredRunnersUp: u32 = 15;
pub const ElectionsPhragmenPalletId: LockIdentifier = *b"phrelect";
pub const MaxElectionCandidates: u32 = 1_000;
pub const MaxElectionVoters: u32 = 1_000;
pub const MaxVotesPerVoter: u32 = 5;
pub const MaxElectionCandidates: u32 = 100;
pub const MaxElectionVoters: u32 = 768;
pub const MaxVotesPerVoter: u32 = 10;
}

impl pallet_elections_phragmen::Config for Runtime {
Expand All @@ -297,7 +297,7 @@ impl pallet_elections_phragmen::Config for Runtime {

parameter_types! {
pub const DataDepositPerByte: Balance = CENTS;
pub const TipCountdown: BlockNumber = 2 * HOURS;
pub const TipCountdown: BlockNumber = 24 * HOURS;
pub const TipFindersFee: Percent = Percent::from_percent(1);
pub const TipReportDepositBase: Balance = 10 * DOLLARS;
pub const TipReportDepositPerByte: Balance = CENTS;
Expand Down
2 changes: 1 addition & 1 deletion runtime/hydradx/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("hydradx"),
impl_name: create_runtime_str!("hydradx"),
authoring_version: 1,
spec_version: 211,
spec_version: 212,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 1,
Expand Down

0 comments on commit 7ac267b

Please sign in to comment.