[][src]Function beacon::genesis_beacon_state

pub fn genesis_beacon_state<C: Config, BLS: BLSConfig>(
    deposits: &[Deposit],
    genesis_time: Uint,
    genesis_eth1_data: Eth1Data
) -> Result<BeaconState<C>, Error>

Generate genesis state from given deposits, timestamp, and eth1 data.