mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-02 08:51:08 +00:00
Migrate pallet-staking to pallet attribute macro (#9083)
* Migrate staking pallet to pallet attribute macro. * HistoryDepth default value. * Make all calls public. * Update frame/staking/src/lib.rs * remove externalities again * Update lib.rs Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
This commit is contained in:
1 parent
68833498c6
commit
0869fdf9aa
10 files changed
+731
-552
No files matched your search
@@ -28,7 +28,7 @@ use sp_runtime::{
|
||||
use frame_system::InitKind;
|
||||
use frame_support::{
|
||||
parameter_types,
|
||||
traits::{KeyOwnerProofSystem, OnInitialize},
|
||||
traits::{KeyOwnerProofSystem, OnInitialize, GenesisBuild},
|
||||
};
|
||||
use sp_io;
|
||||
use sp_core::{H256, U256, crypto::{IsWrappedBy, KeyTypeId, Pair}};
|
||||
|
||||
Reference in new issue
Block a user