Port transaction pool benchmark (#738)

Adds a benchmark to measure transaction throughput.
This commit is contained in:
Sebastian Kunert
2021-11-11 10:30:54 +01:00
committed by GitHub
parent 8a1201273b
commit d4045c85e7
7 changed files with 432 additions and 75 deletions
+6
View File
@@ -371,6 +371,12 @@ impl_runtime_apis! {
}
}
impl frame_system_rpc_runtime_api::AccountNonceApi<Block, AccountId, Index> for Runtime {
fn account_nonce(account: AccountId) -> Index {
System::account_nonce(account)
}
}
impl sp_block_builder::BlockBuilder<Block> for Runtime {
fn apply_extrinsic(
extrinsic: <Block as BlockT>::Extrinsic,