Skip to content

Commit 849f555

Browse files
authored
Hotfix/reduce election params (#182)
1 parent 73b829f commit 849f555

File tree

4 files changed

+22
-22
lines changed

4 files changed

+22
-22
lines changed

Cargo.lock

+18-18
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ homepage = "https://www.polimec.org/"
2020
license-file = "LICENSE"
2121
readme = "README.md"
2222
repository = "https://github.com/Polimec/polimec-node"
23-
version = "0.5.0"
23+
version = "0.5.1"
2424

2525
[profile.release]
2626
# Substrate runtime requires unwinding.

runtimes/base/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
198198
spec_name: create_runtime_str!("polimec-mainnet"),
199199
impl_name: create_runtime_str!("polimec-mainnet"),
200200
authoring_version: 1,
201-
spec_version: 0_005_000,
201+
spec_version: 0_005_001,
202202
impl_version: 0,
203203
apis: RUNTIME_API_VERSIONS,
204204
transaction_version: 1,

runtimes/shared-configuration/src/governance.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ parameter_types! {
136136
pub VotingLockPeriod: BlockNumber = ELECTION_VOTING_LOCK_DURATION;
137137
pub const DesiredMembers: u32 = 9;
138138
pub const DesiredRunnersUp: u32 = 20;
139-
pub const MaxCandidates: u32 = 1000;
140-
pub const MaxVoters: u32 = 10000;
139+
pub const MaxCandidates: u32 = 30;
140+
pub const MaxVoters: u32 = 200;
141141
pub const MaxVotesPerVoter: u32 = 8;
142142
}

0 commit comments

Comments
 (0)