Merge pull request #2627 from ethDreamer/function_rename

Fixed Validation Conditions (Function Renamed)
This commit is contained in:
Danny Ryan 2021-09-24 15:19:11 -06:00 committed by GitHub
commit 30fe7ba110
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ Alias `block = signed_beacon_block.message`, `execution_payload = block.body.exe
- If the execution is enabled for the block -- i.e. `is_execution_enabled(state, block.body)` - If the execution is enabled for the block -- i.e. `is_execution_enabled(state, block.body)`
then validate the following: then validate the following:
- _[REJECT]_ The block's execution payload timestamp is correct with respect to the slot - _[REJECT]_ The block's execution payload timestamp is correct with respect to the slot
-- i.e. `execution_payload.timestamp == compute_time_at_slot(state, block.slot)`. -- i.e. `execution_payload.timestamp == compute_timestamp_at_slot(state, block.slot)`.
- _[REJECT]_ Gas used is less than the gas limit -- - _[REJECT]_ Gas used is less than the gas limit --
i.e. `execution_payload.gas_used <= execution_payload.gas_limit`. i.e. `execution_payload.gas_used <= execution_payload.gas_limit`.
- _[REJECT]_ The execution payload block hash is not equal to the parent hash -- - _[REJECT]_ The execution payload block hash is not equal to the parent hash --