v2.1 spec now has new fields (justified_slot and justified_block_hash) in Attestation and some logic regarding these fields when processing attestations.
Proposed Implementation
add justified_slot and justified_block_hash to Attestation
When validating attestation,
Verify that the justified_slot and justified_block_hash given are in the chain and are equal to or earlier than the last_justified_slot in the crystallized state.
Issue
v2.1 spec now has new fields (
justified_slot
andjustified_block_hash
) inAttestation
and some logic regarding these fields when processing attestations.Proposed Implementation
justified_slot
andjustified_block_hash
toAttestation