mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-22 18:31:07 +00:00
Benchmark Vesting (#5048)
* Init macro * Refactor function. * Add feature * vested transfer benchmark * Fix features * Forgot to push this fix * bump impl * Nits. Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
This commit is contained in:
@@ -60,6 +60,9 @@ use frame_support::traits::{
|
||||
use frame_support::weights::SimpleDispatchInfo;
|
||||
use frame_system::{self as system, ensure_signed};
|
||||
|
||||
#[cfg(feature = "runtime-benchmarks")]
|
||||
mod benchmarking;
|
||||
|
||||
type BalanceOf<T> = <<T as Trait>::Currency as Currency<<T as frame_system::Trait>::AccountId>>::Balance;
|
||||
|
||||
pub trait Trait: frame_system::Trait {
|
||||
|
||||
Reference in New Issue
Block a user