get rid of obsolete weight functions (#1926)

This commit is contained in:
Svyatoslav Nikolsky
2023-03-02 11:21:10 +03:00
committed by Bastian Köcher
parent 50d92eb8de
commit 3a145e5844
14 changed files with 99 additions and 93 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ construct_runtime! {
}
parameter_types! {
pub const MaximumBlockWeight: Weight = Weight::from_ref_time(1024);
pub const MaximumBlockWeight: Weight = Weight::from_parts(1024, 0);
pub const MaximumBlockLength: u32 = 2 * 1024;
pub const AvailableBlockRatio: Perbill = Perbill::one();
}