consensus-specs
consensus-specs copied to clipboard
Improve Altair pytest coverage
- [ ] [phase0] beacon
slash_validator:whistleblower_indexwas neverNone- this field is used by custody game
process_challenge_deadlines, but currently, the custody tests are not enabled.
- this field is used by custody game
- [ ] [phase0] fork choice tests (#2487)
- some conditions were never be satisfied or be false.
- [x]
filter_block_treenever returnsFalse - [x]
should_update_justified_checkpointnever returnsTrue - [x]
update_latest_messages: conditioni not in store.latest_messages or target.epoch > store.latest_messages[i].epochwas neverFalse - [ ]
on_block:state.current_justified_checkpoint.epoch > store.justified_checkpoint.epochwas neverFalse- edited: currently commented out
- [ ] [phase0] validator
get_committee_assignmentnever returnsNoneget_aggregate_signatureis uncovered
- [ ] [phase0] weak subjectivity
- the whole spec is untested
- [x] [altair] validator & networking (#2499, #2505)
- some helper functions are uncovered
get_sync_committee_messageget_sync_committee_selection_proofis_sync_committee_aggregatorget_contribution_and_proofget_contribution_and_proof_signatureget_sync_subcommittee_pubkeys
I'd pick fork choice & validator guide tests. 👋
I did a pass on coverage needed in state transition and am documenting progress here:
https://docs.google.com/spreadsheets/d/1CbJy3iCRfXnG_jclMrDpktE-gEOXP9nAtGzoUYmuLVM/edit#gid=0
I am closing this issue because it seems stale. Please, do not hesitate to reopen it if this is a mistake