Add proof-size related benchmarks to message lane module (#675)

* fix benchmakrs + proof-size related benchmarks

* Update modules/message-lane/src/benchmarking.rs

Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>

Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>
This commit is contained in:
Svyatoslav Nikolsky
2021-01-30 00:25:33 +03:00
committed by Bastian Köcher
parent ac1d12e607
commit 19c87db139
5 changed files with 220 additions and 72 deletions
+2 -2
View File
@@ -847,7 +847,7 @@ impl_runtime_apis! {
fn endow_account(account: &Self::AccountId) {
pallet_balances::Module::<Runtime>::make_free_balance_be(
account,
1_000_000_000_000,
Balance::MAX / 100,
);
}
@@ -865,7 +865,7 @@ impl_runtime_apis! {
origin: dispatch_origin,
call: message_payload,
};
(message, 1_000_000_000)
(message, pallet_message_lane::benchmarking::MESSAGE_FEE.into())
}
fn prepare_message_proof(