pub fn head_beacon_state(&self) -> Result<BeaconState<T::EthSpec>, Error> {
        self.with_head(|s| {
            Ok(s.beacon_state
                .clone_with(CloneConfig::committee_caches_only()))
        })
    }
/// Returns the beacon state at the head of the canonical chain.
///
/// See `Self::head` for more information.
Returns the beacon state at the head of the canonical chain.
See `Self::head` for more information.
Returns the beacon state at the head of the canonical chain . See ` Self :: head ` for more information .
pub fn head_beacon_state(&self) -> Result<BeaconState<T::EthSpec>, Error> {
        self.with_head(|s| {
            Ok(s.beacon_state
                .clone_with(CloneConfig::committee_caches_only()))
        })
    }
pub fn head_beacon_state ( & self ) -> Result < BeaconState < T :: EthSpec > , Error > { self . with_head ( | s | { Ok ( s . beacon_state . clone_with ( CloneConfig :: committee_caches_only ( ) ) ) } ) }
Returns the beacon state at the head of the canonical chain.
Returns the beacon state at the head of the canonical chain .
&self