mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 07:31:08 +00:00
Benchmark Utility Pallet (#5384)
* Move tests * Move around feature cfgs * Start benchmarks * as_multi bench * finish * fix tests * Update frame/utility/src/benchmarking.rs Co-Authored-By: Marcio Diaz <marcio.diaz@gmail.com> * Update Cargo.toml * fix test Co-authored-by: Marcio Diaz <marcio.diaz@gmail.com>
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
|
||||
//! Vesting pallet benchmarking.
|
||||
|
||||
#![cfg(feature = "runtime-benchmarks")]
|
||||
|
||||
use super::*;
|
||||
|
||||
use frame_system::{RawOrigin, Module as System};
|
||||
@@ -119,6 +121,6 @@ benchmarks! {
|
||||
};
|
||||
|
||||
let _ = T::Currency::make_free_balance_be(&from, transfer_amount * 10.into());
|
||||
|
||||
|
||||
}: _(RawOrigin::Signed(from), to_lookup, vesting_schedule)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user