mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-15 03:21:06 +00:00
Reformat
This commit is contained in:
@@ -17,9 +17,7 @@
|
|||||||
//! Implements support for the frame_staking module.
|
//! Implements support for the frame_staking module.
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
frame::{
|
frame::Store,
|
||||||
Store,
|
|
||||||
},
|
|
||||||
metadata::{
|
metadata::{
|
||||||
Metadata,
|
Metadata,
|
||||||
MetadataError,
|
MetadataError,
|
||||||
@@ -73,6 +71,7 @@ pub type ValidatorIndex = u16;
|
|||||||
|
|
||||||
/// Maximum number of validators that can be stored in a snapshot.
|
/// Maximum number of validators that can be stored in a snapshot.
|
||||||
pub const MAX_VALIDATORS: usize = ValidatorIndex::max_value() as usize;
|
pub const MAX_VALIDATORS: usize = ValidatorIndex::max_value() as usize;
|
||||||
|
|
||||||
/// Maximum number of nominators that can be stored in a snapshot.
|
/// Maximum number of nominators that can be stored in a snapshot.
|
||||||
pub const MAX_NOMINATORS: usize = NominatorIndex::max_value() as usize;
|
pub const MAX_NOMINATORS: usize = NominatorIndex::max_value() as usize;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user