-
Notifications
You must be signed in to change notification settings - Fork 975
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
polish merge/beacon-chain.md #2472
Conversation
Re opaque transactions -- the intention is to type these with a union type so that multiple transaction types can be supported. "execution" is the more general and proper term imo |
Just to make sure I understand are you suggesting renaming every instance of "opaque transaction" to "execution transaction"? That would work for me :) |
Co-authored-by: Danny Ryan <dannyjryan@gmail.com>
It's not a static module, it's a dynamic part of the environment, something that is plugged in like configuration. E.g. tests, testnets, mainnet, different eth1-redundancy setups, etc. may all use completely different execution engines through this same protocol. The upper-snake-case to match the config style was intentional. |
0f84664
to
0bf3f85
Compare
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.
lgtm
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.
Looks good to me! 👍
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.
LGTM
Polish
merge/beacon-chain.md
with mostly non-substantive changes.Non-substantive changes
MAX_EXECUTION_TRANSACTIONS
toMAX_TRANSACTIONS_PER_PAYLOAD
compute_time_at_slot
tocompute_timestamp_at_slot
execution_payload.timestamp
ExecutionEngine.execution_state
for clarityExecutionPayload.number
toExecutionPayload.block_number
ExecutionPayload.block_hash
new_block
toon_payload
on_
prefix is consistent with other event handlers (e.g. seeon_tick
,on_block
,on_attestation
here)_payload
suffix is more to the point given the function accepts anexecution_payload
on_block
which is already used in the fork choiceis_execution_enabled
afteris_transition_completed
andis_transition_block
is_execution_enabled
refers tois_transition_completed
andis_transition_block
process_execution_payload
process_execution_payload
signature consistent with the otherprocess_
functions inprocess_block
which take as argumentsstate
andblock.body
TRANSITION_TOTAL_DIFFICULTY
merge/fork-choice.md
where it is usedSubstantive changes
ExecutionPayload
fieldsExecutionPayloadHeader