Migrate pallet-vesting to pallet attribute macro. (#8440)

* Migrate pallet-vesting to pallet attribute macro.

* Update metadata type alias.

* Replace 'Module' with 'Pallet' in benchmarking.

* Trigger CI.
This commit is contained in:
Shaun Wang
2021-03-25 01:29:30 +13:00
committed by GitHub
parent e309d94f1a
commit f93d7b874e
2 changed files with 95 additions and 72 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ use frame_system::{RawOrigin, Pallet as System};
use frame_benchmarking::{benchmarks, account, whitelisted_caller, impl_benchmark_test_suite};
use sp_runtime::traits::Bounded;
use crate::Module as Vesting;
use crate::Pallet as Vesting;
const SEED: u32 = 0;