Message lane weight formulas (#596)

* weight formulas for message-lane calls

* extracted WeightInfoExt into separate file
This commit is contained in:
Svyatoslav Nikolsky
2020-12-24 11:29:33 +03:00
committed by Bastian Köcher
parent a6c3de51d3
commit 8e8e89511f
3 changed files with 129 additions and 14 deletions
+5
View File
@@ -1005,6 +1005,11 @@ mod tests {
});
}
#[test]
fn ensure_rialto_message_lane_weights_are_correct() {
pallet_message_lane::ensure_weights_are_correct::<pallet_message_lane::weights::RialtoWeight<Runtime>>();
}
#[test]
fn deposit_into_existing_account_works() {
run_deposit_into_test(|existing_account| {