Introduce BlockExecutionWeight and ExtrinsicBaseWeight (#1023)

* Update to changes in Substrate

* Fix trait

* Remove `TransactionBaseFee`

* add temporary values for extrinsic base weight and block execution weight

* Update Cargo.lock
This commit is contained in:
Shawn Tabrizi
2020-04-25 10:04:35 +02:00
committed by GitHub
parent 5733869389
commit 0a10e37c99
12 changed files with 262 additions and 249 deletions
+2
View File
@@ -53,4 +53,6 @@ parameter_types! {
pub const MaximumBlockWeight: Weight = 2_000_000_000_000;
pub const AvailableBlockRatio: Perbill = Perbill::from_percent(75);
pub const MaximumBlockLength: u32 = 5 * 1024 * 1024;
pub const ExtrinsicBaseWeight: Weight = 100_000_000; // TODO: Confirm/Update
pub const BlockExecutionWeight: Weight = 1_000_000_000; // TODO: Confirm/Update
}