Skip to content

Commit

Permalink
Merge pull request #786 from ethereum/JustinDrake-patch-14
Browse files Browse the repository at this point in the history
`GENESIS_EPOCH - 1` for `previous_shuffling_epoch` and `previous_justified_epoch`
  • Loading branch information
djrtwo committed Mar 19, 2019
2 parents 89a5a0b + be13fa8 commit 333b9a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions specs/core/0_beacon-chain.md
Original file line number Diff line number Diff line change
Expand Up @@ -1515,15 +1515,15 @@ def get_genesis_beacon_state(genesis_validator_deposits: List[Deposit],
latest_randao_mixes=Vector([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,
previous_shuffling_epoch=GENESIS_EPOCH - 1,
current_shuffling_epoch=GENESIS_EPOCH,
previous_shuffling_seed=ZERO_HASH,
current_shuffling_seed=ZERO_HASH,

# Finality
previous_epoch_attestations=[],
current_epoch_attestations=[],
previous_justified_epoch=GENESIS_EPOCH,
previous_justified_epoch=GENESIS_EPOCH - 1,
current_justified_epoch=GENESIS_EPOCH,
previous_justified_root=ZERO_HASH,
current_justified_root=ZERO_HASH,
Expand Down

0 comments on commit 333b9a3

Please sign in to comment.