You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the generators are now (waiting for #851 merge) integrated into the PySpec and hosted in this repository, we can push for much more completeness in YAML testing.
This issue is to track the progress of providing test-cases for block-operations ("transactions" previously).
Suggestions for test-cases are welcome. And better, open up a PR with implementation (once #851 is ready)
Deposits
Valid new deposit
Valid top-up
Invalid: deposit index
Invalid: deposit proof
Valid new deposit but invalid signature (proof of possession)
Proposer slashings
Valid proposer slashing
Invalid proposer index
Invalid: different epoch
Invalid: Same block headers
Invalid: Non-slashable proposer (not activated) [TODO: correct, maybe just slash them anyway,
since they signed it?]
Invalid: Non-slashable proposer (slashed)
Invalid: Non-slashable proposer (withdrawn)
Invalid: Invalid signatures (either header, or both)
Attester slashings
Invalid: Same attestation
Valid: double vote
Valid: surround vote
Invalid: no double or surround vote
Invalid: either attestation has invalid indexed form (custody bit indices wrong)
Invalid: no slashable indices
Invalid: invalid signatures (either attestation, or both)
Attestations (inclusion)
Valid attestation
Valid previous epoch
Invalid: shard out of range
Invalid: incorrect source epoch (previous and current epoch)
Invalid: incorrect source root (previous and current epoch)
Invalid: non-zero crosslink root
Invalid: incorrect previous crosslink root with state (previous)
Yes. I'm running coverage reports on ZRNT, and it's looking good for most parts of the spec, but will open another issue with remaining tests to be written later this week.
Since the generators are now (waiting for #851 merge) integrated into the PySpec and hosted in this repository, we can push for much more completeness in YAML testing.
This issue is to track the progress of providing test-cases for block-operations ("transactions" previously).
Suggestions for test-cases are welcome. And better, open up a PR with implementation (once #851 is ready)
since they signed it?]
staged tests (i.e. need review/update):
The text was updated successfully, but these errors were encountered: