pub(crate) fn initial_era(&self) -> EraId {
        // We want to start the Era Supervisor at the era right after the highest block we
        // have. If the block is a switch block, that will be the era that comes next. If
        // it's not, we continue the era the highest block belongs to.
        self.initial_block_header()
            .map(BlockHeader::next_block_era_id)
            .unwrap_or_else(|| EraId::from(0))
    }
/// This returns the era at which we will be starting the operation, assuming the highest known
/// block is the last one. It will return the era of the highest known block, unless it is a
/// switch block, in which case it returns the successor to the era of the highest known block.
This returns the era at which we will be starting the operation, assuming the highest known
block is the last one. It will return the era of the highest known block, unless it is a
switch block, in which case it returns the successor to the era of the highest known block.
This returns the era at which we will be starting the operation assuming the highest known block is the last one . It will return the era of the highest known block unless it is a switch block in which case it returns the successor to the era of the highest known block .
pub(crate) fn initial_era(&self) -> EraId {
        // We want to start the Era Supervisor at the era right after the highest block we
        // have. If the block is a switch block, that will be the era that comes next. If
        // it's not, we continue the era the highest block belongs to.
        self.initial_block_header()
            .map(BlockHeader::next_block_era_id)
            .unwrap_or_else(|| EraId::from(0))
    }
pub ( crate ) fn initial_era ( & self ) -> EraId { // We want to start the Era Supervisor at the era right after the highest block we // have. If the block is a switch block, that will be the era that comes next. If // it's not, we continue the era the highest block belongs to. self . initial_block_header ( ) . map ( BlockHeader :: next_block_era_id ) . unwrap_or_else ( | | EraId :: from ( 0 ) ) }
This returns the era at which we will be starting the operation, assuming the highest known
block is the last one.
This returns the era at which we will be starting the operation assuming the highest known block is the last one .
&self
&self