Skip to content
This repository has been archived by the owner on Jul 1, 2021. It is now read-only.

Remove/change xor(seed, epoch) in shuffling #257

Closed
hwwhww opened this issue Feb 4, 2019 · 1 comment · Fixed by #274
Closed

Remove/change xor(seed, epoch) in shuffling #257

hwwhww opened this issue Feb 4, 2019 · 1 comment · Fixed by #274
Assignees
Labels

Comments

@hwwhww
Copy link
Contributor

hwwhww commented Feb 4, 2019

What is wrong?

Spec issue: ethereum/consensus-specs#550
Spec PR: ethereum/consensus-specs#552

How can it be fixed

Update generate_seed:

    return hash_eth2(
        get_randao_mix(state, epoch - SEED_LOOKAHEAD) +
        get_active_index_root(state, epoch) +
       epoch.to_bytes(32, 'big')
    )

Pending on #256

@hwwhww hwwhww added the eth2.0 label Feb 4, 2019
@ralexstokes
Copy link
Member

looks like this is unblocked so i can address it

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants