lighthouse/eth2/types/src
Michael Sproul 338cb2fba7
Fix parallelism bug in exit processing (#1110)
* Fix parallelism bug in exit processing

Also:

* Remove parallelism for all other operations except deposit merkle proofs
* Improve exit tests
* Fix broken attestation test

Closes #1090

* Allow for generating block/pre/post states from some unit tests (#1123)

* Add post-state checks, comments

* Add state_transition_vectors crate

* Integrate new testing crate with CI

* Add readme

* Add additional valid tests

* Remove ExitTests (they were moved to new crate)

* Small test fixes

* Delete incorrect saturating_sub in slash_validator

And clean-up the balance increase/decrease functions to look more like the spec.

Co-authored-by: Paul Hauner <paul@paulhauner.com>
2020-05-09 09:37:21 +10:00
..
beacon_state Arbitrary trait for eth2/types (#1040) 2020-05-06 09:12:28 +10:00
test_utils Fix parallelism bug in exit processing (#1110) 2020-05-09 09:37:21 +10:00
utils Use checked arithmetic in types and state proc (#1009) 2020-04-20 12:35:11 +10:00
aggregate_and_proof.rs Add attestation gossip pre-verification (#983) 2020-05-06 21:42:56 +10:00
attestation_data.rs Arbitrary trait for eth2/types (#1040) 2020-05-06 09:12:28 +10:00
attestation_duty.rs Arbitrary trait for eth2/types (#1040) 2020-05-06 09:12:28 +10:00
attestation.rs Arbitrary trait for eth2/types (#1040) 2020-05-06 09:12:28 +10:00
attester_slashing.rs Arbitrary trait for eth2/types (#1040) 2020-05-06 09:12:28 +10:00
beacon_block_body.rs Arbitrary trait for eth2/types (#1040) 2020-05-06 09:12:28 +10:00
beacon_block_header.rs Arbitrary trait for eth2/types (#1040) 2020-05-06 09:12:28 +10:00
beacon_block.rs Arbitrary trait for eth2/types (#1040) 2020-05-06 09:12:28 +10:00
beacon_committee.rs Arbitrary trait for eth2/types (#1040) 2020-05-06 09:12:28 +10:00
beacon_state.rs Arbitrary trait for eth2/types (#1040) 2020-05-06 09:12:28 +10:00
chain_spec.rs Arbitrary trait for eth2/types (#1040) 2020-05-06 09:12:28 +10:00
checkpoint.rs Arbitrary trait for eth2/types (#1040) 2020-05-06 09:12:28 +10:00
deposit_data.rs Arbitrary trait for eth2/types (#1040) 2020-05-06 09:12:28 +10:00
deposit_message.rs Arbitrary trait for eth2/types (#1040) 2020-05-06 09:12:28 +10:00
deposit.rs Arbitrary trait for eth2/types (#1040) 2020-05-06 09:12:28 +10:00
enr_fork_id.rs Arbitrary trait for eth2/types (#1040) 2020-05-06 09:12:28 +10:00
eth1_data.rs Arbitrary trait for eth2/types (#1040) 2020-05-06 09:12:28 +10:00
eth_spec.rs Arbitrary trait for eth2/types (#1040) 2020-05-06 09:12:28 +10:00
fork_data.rs Arbitrary trait for eth2/types (#1040) 2020-05-06 09:12:28 +10:00
fork.rs Arbitrary trait for eth2/types (#1040) 2020-05-06 09:12:28 +10:00
free_attestation.rs Arbitrary trait for eth2/types (#1040) 2020-05-06 09:12:28 +10:00
historical_batch.rs Arbitrary trait for eth2/types (#1040) 2020-05-06 09:12:28 +10:00
indexed_attestation.rs Arbitrary trait for eth2/types (#1040) 2020-05-06 09:12:28 +10:00
lib.rs Merge latest master 2020-04-22 01:05:46 +10:00
pending_attestation.rs Arbitrary trait for eth2/types (#1040) 2020-05-06 09:12:28 +10:00
proposer_slashing.rs Arbitrary trait for eth2/types (#1040) 2020-05-06 09:12:28 +10:00
relative_epoch.rs Arbitrary trait for eth2/types (#1040) 2020-05-06 09:12:28 +10:00
selection_proof.rs Add attestation gossip pre-verification (#983) 2020-05-06 21:42:56 +10:00
signed_aggregate_and_proof.rs Add attestation gossip pre-verification (#983) 2020-05-06 21:42:56 +10:00
signed_beacon_block_header.rs Arbitrary trait for eth2/types (#1040) 2020-05-06 09:12:28 +10:00
signed_beacon_block.rs Add attestation gossip pre-verification (#983) 2020-05-06 21:42:56 +10:00
signed_voluntary_exit.rs Arbitrary trait for eth2/types (#1040) 2020-05-06 09:12:28 +10:00
signing_root.rs Arbitrary trait for eth2/types (#1040) 2020-05-06 09:12:28 +10:00
slot_epoch_macros.rs Prune abandoned forks (#916) 2020-04-20 19:59:56 +10:00
slot_epoch.rs Fix parallelism bug in exit processing (#1110) 2020-05-09 09:37:21 +10:00
subnet_id.rs Arbitrary trait for eth2/types (#1040) 2020-05-06 09:12:28 +10:00
tree_hash_impls.rs Use checked arithmetic in types and state proc (#1009) 2020-04-20 12:35:11 +10:00
utils.rs Interop chain start strategies (#479) 2019-08-06 13:29:27 +10:00
validator.rs Arbitrary trait for eth2/types (#1040) 2020-05-06 09:12:28 +10:00
voluntary_exit.rs Arbitrary trait for eth2/types (#1040) 2020-05-06 09:12:28 +10:00