mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 05:51:02 +00:00
* Fixing Polkadot after substrate changes moving Vec to BoundedVec * Removing changes to pallet aura bumping bitflags version * update Substrate Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -11,7 +11,7 @@ log = { version = "0.4.14", default-features = false }
|
||||
rustc-hex = { version = "2.1.0", default-features = false }
|
||||
serde = { version = "1.0.123", features = [ "derive" ], optional = true }
|
||||
derive_more = "0.99.14"
|
||||
bitflags = "1"
|
||||
bitflags = "1.3.2"
|
||||
|
||||
sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
||||
inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
||||
|
||||
@@ -246,8 +246,8 @@ pub fn relevant_authority_ids<T: initializer::Config + pallet_authority_discover
|
||||
// Due to `max_validators`, the `SessionInfo` stores only the validators who are actively
|
||||
// selected to participate in parachain consensus. We'd like all authorities for the current
|
||||
// and next sessions to be used in authority-discovery. The two sets likely have large overlap.
|
||||
let mut authority_ids = <pallet_authority_discovery::Pallet<T>>::current_authorities();
|
||||
authority_ids.extend(<pallet_authority_discovery::Pallet<T>>::next_authorities());
|
||||
let mut authority_ids = <pallet_authority_discovery::Pallet<T>>::current_authorities().to_vec();
|
||||
authority_ids.extend(<pallet_authority_discovery::Pallet<T>>::next_authorities().to_vec());
|
||||
|
||||
// Due to disputes, we'd like to remain connected to authorities of the previous few sessions.
|
||||
// For this, we don't need anyone other than the validators actively participating in consensus.
|
||||
|
||||
@@ -74,7 +74,7 @@ pub trait AuthorityDiscoveryConfig {
|
||||
|
||||
impl<T: pallet_authority_discovery::Config> AuthorityDiscoveryConfig for T {
|
||||
fn authorities() -> Vec<AuthorityDiscoveryId> {
|
||||
<pallet_authority_discovery::Pallet<T>>::current_authorities()
|
||||
<pallet_authority_discovery::Pallet<T>>::current_authorities().to_vec()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user