[][src]Function beacon::genesis_state

pub fn genesis_state<C: Config>(
    deposits: Vec<Deposit>,
    genesis_time: Timestamp,
    latest_eth1_data: Eth1Data,
    config: &C
) -> Result<BeaconState, Error>

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