-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Fix genesis state in Gloas #5172
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -292,8 +292,9 @@ def test_builder_payment_after_missed_epochs(spec, state): | |
| bid.execution_requests_root = spec.hash_tree_root(spec.ExecutionRequests()) | ||
|
|
||
| # Chain onto the previous bid so both block_1 and block_2 see a FULL parent | ||
| bid.parent_block_hash = state.latest_execution_payload_bid.block_hash | ||
| bid.block_hash = state.latest_execution_payload_bid.block_hash | ||
| # TODO(jtraglia): make this less hacky | ||
| bid.parent_block_hash = state.latest_block_hash | ||
| bid.block_hash = state.latest_block_hash | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't understand how this can ever happen
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah I hate this. This is unrealistic but that's how the test worked before. This test format does not yet support payload sidecars. See: https://github.com/ethereum/consensus-specs/blob/master/tests/formats/sanity/blocks.md |
||
|
|
||
| # Sign the bid with the builder's private key | ||
| signature = spec.get_execution_payload_bid_signature( | ||
|
|
||
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.
is this a thing we're fixing now? or are we merging this todo?
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 intend to merge this todo & deal with it later. The fix wouldn't be simple.