mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-24 20:37:17 +00:00
Update ProcessValidatorExits spec definition in comment (#1398)
This commit is contained in:
parent
51ea11aebc
commit
f661053ea3
@ -617,9 +617,16 @@ func verifyDeposit(beaconState *pb.BeaconState, deposit *pb.Deposit) error {
|
||||
// Verify that state.slot >= exit.slot.
|
||||
// Verify that state.slot >= validator.latest_status_change_slot +
|
||||
// SHARD_PERSISTENT_COMMITTEE_CHANGE_PERIOD.
|
||||
// Let exit_message = hash_tree_root(
|
||||
// Exit(
|
||||
// slot=exit.slot,
|
||||
// validator_index=exit.validator_index,
|
||||
// signature=EMPTY_SIGNATURE
|
||||
// )
|
||||
// ).
|
||||
// Verify that bls_verify(
|
||||
// pubkey=validator.pubkey,
|
||||
// message=ZERO_HASH,
|
||||
// message=exit_message,
|
||||
// signature=exit.signature,
|
||||
// domain=get_domain(state.fork_data, exit.slot, DOMAIN_EXIT),
|
||||
// )
|
||||
|
Loading…
Reference in New Issue
Block a user