nimbus-eth2/tests
Dustin Brody c53de3e550 Caching updates/refactoring & state_sim defaults updates (#235)
* rm now-superceded shuffling cache (shuffling is only called from get_crosslinks), which was badly architected due to trying to exist in state; rm one more vestige of previous light-client regime (one more to go, from datatypes)

* fix wrong shuffling list size (active validator size, not validator size) to make consistent with 0.5.1 (will be inconsistent with testnet0); fix typo and change defaults in state_sim

* doAssert a couple of constant relationships necessary to avoid underflow; rm non-spec, unused helper function get_new_recent_block_roots

* refactor separate crosslink_committee_cache and winning_root_participants_cache(s) into StateData object; remove last vestige of previous shuffling cache

* separate out caching parts of StateData to new StateCache object
2019-04-05 08:18:13 -06:00
..
official Official state tests - parsing and loading beacon state (#227) 2019-04-02 16:50:24 +02:00
simulation Allow setting the number of missing nodes 2019-03-29 11:32:25 +02:00
all_tests.nim Official state tests - parsing and loading beacon state (#227) 2019-04-02 16:50:24 +02:00
test_attestation_pool.nim attestation test: fix compile & disable temporarily 2019-03-28 13:15:09 -06:00
test_beacon_chain_db.nim Use block, slot tuple to idenfiy fork 2019-03-28 10:32:09 +02:00
test_beacon_node.nim Merge remote-tracking branch 'origin/master' into epoch-state-2 2018-12-05 11:58:01 -06:00
test_beaconstate.nim convert some asserts to doAsserts to keep them in release mode builds; rename get_initial_beacon_state to get_genesis_beacon_state to track spec; switch target spec version to 0.3.0; switch references to penalize_validator to slash_validator/slashValidator to track spec; make some function returns safer by omitting 'return' (#132) 2019-02-22 10:56:45 +01:00
test_bitfield.nim cleanups (#189) 2019-03-20 14:01:48 -06:00
test_block_pool.nim fetch multiple blocks at a time 2019-03-28 10:42:16 +02:00
test_helpers.nim add is_power_of_2 implementation 2018-12-05 07:19:57 -06:00
test_ssz.nim Caching updates/refactoring & state_sim defaults updates (#235) 2019-04-05 08:18:13 -06:00
test_state_transition.nim use signed_root as canonical block root (#211) 2019-03-26 19:32:35 -06:00
test_sync_protocol.nim Merge remote-tracking branch 'origin/master' into epoch-state-2 2018-12-05 11:58:01 -06:00
test_validator.nim Caching updates/refactoring & state_sim defaults updates (#235) 2019-04-05 08:18:13 -06:00
testutil.nim Aha, the logging issue depended on options set in start.sh; Worked-around 2019-03-28 16:54:50 +02:00