Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Gauthamastro committed Aug 12, 2024
1 parent f301b06 commit 783e466
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 3 deletions.
4 changes: 4 additions & 0 deletions nodes/parachain/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,12 @@ fn create_genesis_config(
..Default::default()
},
sudo: parachain_polkadex_runtime::SudoConfig { key: Some(root_key) },
elections: Default::default(),
council: Default::default(),
technical_committee: Default::default(),
assets: Default::default(),
transaction_payment: Default::default(),
democracy: Default::default(),
}
}

Expand Down
10 changes: 10 additions & 0 deletions polkadex-xcm-simulator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,13 @@ runtime-benchmarks = [
"xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"pallet-message-queue/try-runtime",
"pallet-uniques/try-runtime",
"pallet-xcm/try-runtime",
"polkadot-runtime-parachains/try-runtime",
"sp-runtime/try-runtime",
]
1 change: 1 addition & 0 deletions primitives/bls/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,4 @@ std = [
"tiny-bip39",
"blst",
]
parachain = []
15 changes: 15 additions & 0 deletions runtimes/parachain/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,13 @@ runtime-benchmarks = [
"thea-council/runtime-benchmarks",
"pallet-assets/runtime-benchmarks",
"cumulus-pallet-parachain-system/runtime-benchmarks",


"pallet-collective/runtime-benchmarks",
"pallet-democracy/runtime-benchmarks",
"pallet-preimage/runtime-benchmarks",
"pallet-scheduler/runtime-benchmarks",
"pallet-elections-phragmen/runtime-benchmarks",
]

try-runtime = [
Expand All @@ -194,6 +201,14 @@ try-runtime = [
"pallet-collator-selection/try-runtime",
"pallet-session/try-runtime",
"pallet-sudo/try-runtime",

"pallet-collective/try-runtime",
"pallet-democracy/try-runtime",
"pallet-preimage/try-runtime",
"pallet-scheduler/try-runtime",
"pallet-elections-phragmen/try-runtime",


"pallet-timestamp/try-runtime",
"pallet-transaction-payment/try-runtime",
"pallet-xcm/try-runtime",
Expand Down
6 changes: 3 additions & 3 deletions runtimes/parachain/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("polkadex-parachain"),
impl_name: create_runtime_str!("polkadex-parachain"),
authoring_version: 1,
spec_version: 17,
spec_version: 18,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 1,
Expand Down Expand Up @@ -437,7 +437,7 @@ impl pallet_aura::Config for Runtime {

parameter_types! {
pub const PotId: PalletId = PalletId(*b"PotStake");
pub const MaxCandidates: u32 = 1000;
pub const MaxCandidates: u32 = 100;
pub const MinCandidates: u32 = 5;
pub const SessionLength: BlockNumber = 6 * HOURS;
pub const MaxInvulnerables: u32 = 100;
Expand Down Expand Up @@ -700,7 +700,7 @@ parameter_types! {
pub const DesiredMembers: u32 = 5;
pub const DesiredRunnersUp: u32 = 5;
pub const ElectionsPhragmenPalletId: LockIdentifier = *b"phrelect";
pub const MaxVoters: u32 = 10*1000;
pub const MaxVoters: u32 = 10*100;
pub const MaxVotesPerVoter: u32 = 16;
}

Expand Down

0 comments on commit 783e466

Please sign in to comment.