-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add fork logic for ePBS #6
Conversation
specs/_features/epbs/fork.md
Outdated
previous_inclusion_list_proposer=0, # [New in ePBS] | ||
previous_inclusion_list_slot=0, # [New in ePBS] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to set these to be the latest proposer/slot so that you can import the first payload, and the payload signature verification has to have an exception to not verify a signature from an IL before the fork.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I pushed it. It's now
previous_inclusion_list_proposer=get_beacon_proposer_index(pre), # [New in ePBS]
previous_inclusion_list_slot=pre.slot, # [New in ePBS]
I wont do the beacon chain changes in this PR but let's make a note of that
specs/_features/epbs/fork.md
Outdated
latest_inclusion_list_proposer=0, # [New in ePBS] | ||
latest_inclusion_list_slot=0, # [New in ePBS] | ||
latest_block_hash=Hash32(), # [New in ePBS] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the extra spacing?
233df42
to
1d56ca8
Compare
specs/_features/epbs/fork.md
Outdated
latest_inclusion_list_proposer=0, # [New in ePBS] | ||
latest_inclusion_list_slot=0, # [New in ePBS] | ||
latest_block_hash=Hash32(), # [New in ePBS] | ||
latest_full_slot=0, # [New in ePBS] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps this one should also be pre.slot
, there's no real use for this yet, but better to be safe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense. Thanks
We need to review the case of how the inclusion list import restriction is handled at the first slot of the ePBS fork epoch.