Ignore `bls_to_execution_change` messages before `CAPELLA_FORK_EPOCH`

This commit is contained in:
Hsiao-Wei Wang 2023-01-12 23:30:09 +08:00
parent 730a7afe49
commit 4af46e7e78
No known key found for this signature in database
GPG Key ID: AE3D6B174F971DE4
1 changed files with 2 additions and 0 deletions

View File

@ -59,8 +59,10 @@ See Capella [state transition document](./beacon-chain.md#beaconblockbody) for f
This topic is used to propagate signed bls to execution change messages to be included in future blocks.
Let `system_clock_epoch` be an epoch number according to the local system clock of a node.
The following validations MUST pass before forwarding the `signed_bls_to_execution_change` on the network:
- _[IGNORE]_ `system_clock_epoch >= CAPELLA_FORK_EPOCH`.
- _[IGNORE]_ The `signed_bls_to_execution_change` is the first valid signed bls to execution change received
for the validator with index `signed_bls_to_execution_change.message.validator_index`.
- _[REJECT]_ All of the conditions within `process_bls_to_execution_change` pass validation.