ethereum / beacon_chain

MIT License
209 stars 65 forks source link

Added `justified_slot` and `justified_block_hash` validation #123

Closed hwwhww closed 5 years ago

hwwhww commented 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.

hwwhww commented 5 years ago

@djrtwo Thanks for the feedback! Will add more tests.

hwwhww commented 5 years ago

@djrtwo whole validate_attestation is covered now.