-
Notifications
You must be signed in to change notification settings - Fork 279
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
Use signed_root For Block ID Purposes in Blocks/State - (Spec PR #816) #518
Comments
Working on this. |
Hey @vitorpy, it looks like this task is dependent on ethereum/consensus-specs#711, which is a task we chose not to track in Artemis. It's quite possible writing this one up was missed, because it's sandwiched between "contains no substantive changes" labels. Give me a few mins to chat with the team, and we'll get back to ya. Update: Had a quick chat, and we will track that massive Spec 711 PR, but finishing it in its entirety will take some time, probably more than it's worth you waiting on this task. Luckily, it looks like As always, feel free to hit us up here or on Gitter if you have any questions. |
build_empty_block_for_next_slot is a function created in a test class which won't be implemented. |
Description
As an implementor, I want to use the
signed_root
function instead ofhash_tree_root
when calculating block root, so that block signatures are the same when producing and processing a block.Acceptance Criteria
get_temporary_block_header
returns a block header withsignature := EMPTY_SIGNATURE
.cache_state
usessigned_root
instead ofhash_tree_root
of latest block header when storing the latest block roots.process_block_header
usessigned_root
instead ofhash_tree_root
of latest block header when verifying the previous block root.build_empty_block_for_next_slot
usessigned_root
instead ofhash_tree_root
of previous block header when storing the previous block root.Additional Information
See ethereum/consensus-specs#816
The text was updated successfully, but these errors were encountered: