Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit 0278c8e

Browse files
committed
Merge remote-tracking branch 'upstream/master' into td-offchain-signing
2 parents ab6c763 + 92b1be1 commit 0278c8e

File tree

59 files changed

+1240
-781
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+1240
-781
lines changed

.maintain/gitlab/check_polkadot_companion_status.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,11 @@ then
7676
exit 0
7777
fi
7878

79-
if jq -e '.mergeable and .mergeable_state == "clean"' < companion_pr.json >/dev/null
79+
if jq -e '.mergeable' < companion_pr.json >/dev/null
8080
then
8181
boldprint "polkadot pr #${pr_companion} mergeable"
8282
else
83-
boldprint "polkadot pr #${pr_companion} not mergeable or clean"
83+
boldprint "polkadot pr #${pr_companion} not mergeable"
8484
exit 1
8585
fi
8686

Cargo.lock

Lines changed: 50 additions & 60 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bin/node/cli/src/chain_spec.rs

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@ use sc_chain_spec::ChainSpecExtension;
2020
use sp_core::{Pair, Public, crypto::UncheckedInto, sr25519};
2121
use serde::{Serialize, Deserialize};
2222
use node_runtime::{
23-
AuthorityDiscoveryConfig, BabeConfig, BalancesConfig, ContractsConfig, CouncilConfig, DemocracyConfig,
24-
GrandpaConfig, ImOnlineConfig, SessionConfig, SessionKeys, StakerStatus, StakingConfig,
25-
IndicesConfig, SocietyConfig, SudoConfig, SystemConfig, TechnicalCommitteeConfig, WASM_BINARY,
23+
AuthorityDiscoveryConfig, BabeConfig, BalancesConfig, ContractsConfig, CouncilConfig,
24+
DemocracyConfig,GrandpaConfig, ImOnlineConfig, SessionConfig, SessionKeys, StakerStatus,
25+
StakingConfig, ElectionsConfig, IndicesConfig, SocietyConfig, SudoConfig, SystemConfig,
26+
TechnicalCommitteeConfig, WASM_BINARY,
2627
};
2728
use node_runtime::Block;
2829
use node_runtime::constants::currency::*;
@@ -270,13 +271,14 @@ pub fn testnet_genesis(
270271
.. Default::default()
271272
}),
272273
pallet_democracy: Some(DemocracyConfig::default()),
273-
pallet_collective_Instance1: Some(CouncilConfig {
274+
pallet_elections_phragmen: Some(ElectionsConfig {
274275
members: endowed_accounts.iter()
275276
.take((num_endowed_accounts + 1) / 2)
276277
.cloned()
278+
.map(|member| (member, STASH))
277279
.collect(),
278-
phantom: Default::default(),
279280
}),
281+
pallet_collective_Instance1: Some(CouncilConfig::default()),
280282
pallet_collective_Instance2: Some(TechnicalCommitteeConfig {
281283
members: endowed_accounts.iter()
282284
.take((num_endowed_accounts + 1) / 2)

bin/node/executor/tests/submit_transaction.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ fn submitted_transaction_should_be_valid() {
178178
priority: 2_411_002_000_000,
179179
requires: vec![],
180180
provides: vec![(address, 0).encode()],
181-
longevity: 127,
181+
longevity: 128,
182182
propagate: true,
183183
});
184184
});

0 commit comments

Comments
 (0)