Closed hwwhww closed 5 years ago
Now we have a simple Chain object for tests here. This the second part of #74: 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.
justified_slot
justified_block_hash
last_justified_slot
@djrtwo Thanks for the feedback! Will add more tests.
@djrtwo whole validate_attestation is covered now.
validate_attestation
Now we have a simple Chain object for tests here. This the second part of #74: Verify that the
justified_slot
andjustified_block_hash
given are in the chain and are equal to or earlier than thelast_justified_slot
in the crystallized state.