Merge pull request #1756 from byz-f/q9-genesis-eth1

genesis: clarify that eth1 timestamp can be less than min genesis time
This commit is contained in:
Danny Ryan 2020-04-27 10:15:18 -06:00 committed by GitHub
commit dae623b097
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -1170,6 +1170,8 @@ def initialize_beacon_state_from_eth1(eth1_block_hash: Bytes32,
return state return state
``` ```
*Note*: The ETH1 block with `eth1_timestamp` meeting the minimum genesis active validator count criteria can also occur before `MIN_GENESIS_TIME`.
### Genesis state ### Genesis state
Let `genesis_state = candidate_state` whenever `is_valid_genesis_state(candidate_state) is True` for the first time. Let `genesis_state = candidate_state` whenever `is_valid_genesis_state(candidate_state) is True` for the first time.