mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-24 05:27:59 +00:00
Port transaction pool benchmark (#738)
Adds a benchmark to measure transaction throughput.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user