mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 14:37:57 +00:00
Rename from_components to from_parts (#12473)
* Rename `from_components` to `from_parts` * Fixes * Spelling
This commit is contained in:
@@ -208,7 +208,7 @@ pub struct BlockWeights {
|
||||
impl Default for BlockWeights {
|
||||
fn default() -> Self {
|
||||
Self::with_sensible_defaults(
|
||||
Weight::from_components(constants::WEIGHT_PER_SECOND.ref_time(), u64::MAX),
|
||||
Weight::from_parts(constants::WEIGHT_PER_SECOND.ref_time(), u64::MAX),
|
||||
DEFAULT_NORMAL_RATIO,
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user