[−][src]Function beacon::genesis
pub fn genesis<C: Config, BLS: BLSConfig>(
genesis_validator_deposits: &[Deposit],
genesis_time: Uint,
genesis_eth1_data: Eth1Data
) -> Result<(BeaconBlock<C>, BeaconState<C>), Error>
Generate genesis state and genesis block from given deposits, timestamp and eth1 data.