mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-02 22:54:54 -05:00
Update 0_beacon-chain.md
This commit is contained in:
@@ -1112,7 +1112,7 @@ def initialize_beacon_state_from_eth1(eth1_block_hash: Hash,
|
||||
genesis_time=eth1_timestamp - eth1_timestamp % SECONDS_PER_DAY + 2 * SECONDS_PER_DAY,
|
||||
eth1_data=Eth1Data(block_hash=eth1_block_hash, deposit_count=len(deposits)),
|
||||
latest_block_header=BeaconBlockHeader(body_root=hash_tree_root(BeaconBlockBody())),
|
||||
randao_mixes=[eth1_block_hash] * EPOCHS_PER_HISTORICAL_VECTOR, # to limit deposit order bias in early epochs
|
||||
randao_mixes=[eth1_block_hash] * EPOCHS_PER_HISTORICAL_VECTOR, # Seed RANDAO with Eth1 entropy
|
||||
)
|
||||
|
||||
# Process deposits
|
||||
|
||||
Reference in New Issue
Block a user