mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-01 18:17:56 +00:00
Migrate pallet-session to the new pallet macro (#9796)
* Migrate pallet-session to the new pallet macro Signed-off-by: koushiro <koushiro.cqx@gmail.com> * Remove old macros Signed-off-by: koushiro <koushiro.cqx@gmail.com> * Fix Signed-off-by: koushiro <koushiro.cqx@gmail.com>
This commit is contained in:
@@ -22,8 +22,7 @@ use frame_election_provider_support::{onchain, SortedListProvider};
|
||||
use frame_support::{
|
||||
assert_ok, parameter_types,
|
||||
traits::{
|
||||
Currency, FindAuthor, GenesisBuild, Get, Hooks, Imbalance, OnInitialize, OnUnbalanced,
|
||||
OneSessionHandler,
|
||||
Currency, FindAuthor, GenesisBuild, Get, Hooks, Imbalance, OnUnbalanced, OneSessionHandler,
|
||||
},
|
||||
weights::constants::RocksDbWeight,
|
||||
};
|
||||
|
||||
@@ -23,7 +23,7 @@ use frame_support::{
|
||||
assert_noop, assert_ok,
|
||||
dispatch::WithPostDispatchInfo,
|
||||
pallet_prelude::*,
|
||||
traits::{Currency, Get, OnInitialize, ReservableCurrency},
|
||||
traits::{Currency, Get, ReservableCurrency},
|
||||
weights::{extract_actual_weight, GetDispatchInfo},
|
||||
};
|
||||
use mock::*;
|
||||
|
||||
Reference in New Issue
Block a user