pub(crate) fn hard_reset_to_start_of_era(&self) -> Option<EraId> {
        self.chainspec
            .protocol_config
            .hard_reset
            .then(|| self.chainspec.protocol_config.activation_point.era_id())
    }
/// Returns the era ID of where we should reset back to.  This means stored blocks in that and
/// subsequent eras are deleted from storage.
Returns the era ID of where we should reset back to.  This means stored blocks in that and
subsequent eras are deleted from storage.
Returns the era ID of where we should reset back to . This means stored blocks in that and subsequent eras are deleted from storage .
pub(crate) fn hard_reset_to_start_of_era(&self) -> Option<EraId> {
        self.chainspec
            .protocol_config
            .hard_reset
            .then(|| self.chainspec.protocol_config.activation_point.era_id())
    }
pub ( crate ) fn hard_reset_to_start_of_era ( & self ) -> Option < EraId > { self . chainspec . protocol_config . hard_reset . then ( | | self . chainspec . protocol_config . activation_point . era_id ( ) ) }
Returns the era ID of where we should reset back to.
Returns the era ID of where we should reset back to .
&self
&self