[][src]Function beacon::genesis

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

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