mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-12-04 00:07: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:
1 parent
1c94a03780
commit
013fb6ae18
6 files changed
+126
-1
No files matched your search
@@ -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