Merge pull request #713 from protolambda/protolambda-fix-randao-mixes

fix randao mixes type, bytes32 like in function and state spec
This commit is contained in:
Hsiao-Wei Wang 2019-03-03 13:50:34 +08:00 committed by GitHub
commit c9a6215ab8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1451,7 +1451,7 @@ def get_genesis_beacon_state(genesis_validator_deposits: List[Deposit],
validator_registry_update_epoch=GENESIS_EPOCH,
# Randomness and committees
latest_randao_mixes=[EMPTY_SIGNATURE for _ in range(LATEST_RANDAO_MIXES_LENGTH)],
latest_randao_mixes=[ZERO_HASH for _ in range(LATEST_RANDAO_MIXES_LENGTH)],
previous_shuffling_start_shard=GENESIS_START_SHARD,
current_shuffling_start_shard=GENESIS_START_SHARD,
previous_shuffling_epoch=GENESIS_EPOCH,