Update Substrate/Polkadot/Cumulus dependencies + weights v2 (#1850)

* cargo update

* weights v2

* clippy

* no spellcheck for weights.rs

* fix proof_size component in MAXIMUM_BLOCK_WEIGHT  constants

* "fix" proof_size in select_delivery_transaction_limits_works

* spellcheck
This commit is contained in:
Svyatoslav Nikolsky
2023-02-06 13:20:52 +03:00
committed by Bastian Köcher
parent 14b6e13916
commit a091b8405e
19 changed files with 807 additions and 133 deletions
+1 -1
View File
@@ -202,7 +202,7 @@ fn testnet_genesis(
balances: endowed_accounts.iter().cloned().map(|k| (k, 1 << 50)).collect(),
},
aura: AuraConfig { authorities: Vec::new() },
beefy: BeefyConfig { authorities: Vec::new() },
beefy: BeefyConfig { authorities: Vec::new(), genesis_block: Some(0) },
grandpa: GrandpaConfig { authorities: Vec::new() },
sudo: SudoConfig { key: Some(root_key) },
session: SessionConfig {
+1
View File
@@ -28,6 +28,7 @@ pub struct Cli {
/// Possible subcommands of the main binary.
#[derive(Debug, Parser)]
#[allow(clippy::large_enum_variant)]
pub enum Subcommand {
/// Key management CLI utilities
#[clap(subcommand)]
+1 -1
View File
@@ -125,7 +125,7 @@ pub fn new_partial(
let (grandpa_block_import, grandpa_link) = sc_finality_grandpa::block_import(
client.clone(),
&(client.clone() as Arc<_>),
&client,
select_chain.clone(),
telemetry.as_ref().map(|x| x.handle()),
)?;