Companion for Weight v1.5 Follow Up (#5949)

* updates

* remove new

* fix up some stuff

* fix cargo files

* fix

* fix template

* update lockfile for {"substrate"}

* Update block_weights.rs

* remove unused

* remove unused

Co-authored-by: parity-processbot <>
This commit is contained in:
Shawn Tabrizi
2022-09-01 20:00:51 +01:00
committed by GitHub
parent 75d49dfeb4
commit e28bf2e476
128 changed files with 969 additions and 968 deletions
@@ -97,8 +97,8 @@ impl pallet_balances::Config for Runtime {
}
parameter_types! {
pub const ReservedXcmpWeight: Weight = WEIGHT_PER_SECOND.scalar_div(4);
pub const ReservedDmpWeight: Weight = WEIGHT_PER_SECOND.scalar_div(4);
pub const ReservedXcmpWeight: Weight = WEIGHT_PER_SECOND.saturating_div(4);
pub const ReservedDmpWeight: Weight = WEIGHT_PER_SECOND.saturating_div(4);
}
parameter_types! {
@@ -19,7 +19,6 @@
use frame_support::{
construct_runtime, parameter_types,
traits::{Everything, Nothing},
weights::Weight,
};
use sp_core::H256;
use sp_runtime::{testing::Header, traits::IdentityLookup, AccountId32};
@@ -162,7 +161,7 @@ impl pallet_xcm::Config for Runtime {
}
parameter_types! {
pub const FirstMessageFactorPercent: Weight = Weight::from_ref_time(100);
pub const FirstMessageFactorPercent: u64 = 100;
}
impl ump::Config for Runtime {