Merge pull request #2703 from mkalinin/attest-after-execution

State that validator must consider only fully validated blocks
This commit is contained in:
Mikhail Kalinin 2021-11-01 21:06:38 +06:00 committed by GitHub
commit 7d411a2acd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -122,6 +122,8 @@ def get_payload(self: ExecutionEngine, payload_id: PayloadId) -> ExecutionPayloa
All validator responsibilities remain unchanged other than those noted below. Namely, the transition block handling and the addition of `ExecutionPayload`.
*Note*: A validator must not propose on or attest to a block that isn't deemed valid, i.e. hasn't yet passed the beacon chain state transition and execution validations. In future upgrades, an "execution Proof-of-Custody" will be integrated to prevent outsourcing of execution payload validations.
### Block proposal
#### Constructing the `BeaconBlockBody`