Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
remove derivation of debug in no_std (#5146)
Browse files Browse the repository at this point in the history
  • Loading branch information
gavofyork authored Mar 5, 2020
1 parent 9e52443 commit 870436e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frame/staking/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ pub type EraIndex = u32;
pub type RewardPoint = u32;

/// Information regarding the active era (era in used in session).
#[derive(Encode, Decode, Debug)]
#[derive(Encode, Decode, RuntimeDebug)]
pub struct ActiveEraInfo<Moment> {
/// Index of era.
index: EraIndex,
Expand All @@ -314,7 +314,7 @@ pub struct ActiveEraInfo<Moment> {
/// Reward points of an era. Used to split era total payout between validators.
///
/// This points will be used to reward validators and their respective nominators.
#[derive(PartialEq, Encode, Decode, Default, Debug)]
#[derive(PartialEq, Encode, Decode, Default, RuntimeDebug)]
pub struct EraRewardPoints<AccountId: Ord> {
/// Total number of points. Equals the sum of reward points for each validator.
total: RewardPoint,
Expand Down

0 comments on commit 870436e

Please sign in to comment.