Rename from_components to from_parts (#12473)

* Rename `from_components` to `from_parts`

* Fixes

* Spelling
This commit is contained in:
Keith Yeung
2022-10-12 00:35:54 +08:00
committed by GitHub
parent e1e5b7037a
commit fbdfa84cd7
4 changed files with 7 additions and 7 deletions
@@ -239,7 +239,7 @@ parameter_types! {
pub const ExistentialDeposit: u64 = 1;
pub BlockWeights: frame_system::limits::BlockWeights = frame_system::limits::BlockWeights
::with_sensible_defaults(
Weight::from_components(2u64 * constants::WEIGHT_PER_SECOND.ref_time(), u64::MAX),
Weight::from_parts(2u64 * constants::WEIGHT_PER_SECOND.ref_time(), u64::MAX),
NORMAL_DISPATCH_RATIO,
);
}