nimbus-eth2/tests
Jacek Sieka 07393c8de6
Ssz cache (#1084)
* wip: cache

* cache lists and arrays of complex objects (5x block processing speed
on ncli_db)

trivial baseline cache that stores tree in flat memory structure

* support array of uint64

* work around type issues

* more type compiler bug workarounds

* cache balances, more type fixes

* index type

* ncli_db: add validation flag, better ux

* int64 fixes

* test fix

* "oops"

```
647.913,        0.000,      647.913,      647.913,            1,
Initialize DB
0.540,        0.402,        0.340,        9.451,          619,
Load block from database
40.268,        0.000,       40.268,       40.268,            1,
Load state from database
0.498,        0.150,        0.343,        0.930,          596,
Apply block
3.548,       11.005,        0.729,       54.022,           23,
Apply epoch block
```

* support all basic types

* cleanups

* a few more cleanups
2020-06-03 07:57:17 +02:00
..
fork_choice spec: regulate exceptions (#913) 2020-04-22 07:53:02 +02:00
fuzzing Detect another invalid SSZ input found through fuzzing 2020-05-30 14:47:35 +03:00
helpers wip: cache 2020-06-01 14:52:50 +02:00
mocking check that process_slots() succeeds 2020-05-19 17:16:55 +00:00
official Ssz cache (#1084) 2020-06-03 07:57:17 +02:00
simulation more work on the BN/VC split 2020-05-28 13:01:42 +03:00
spec_block_processing avoid stack allocations in some tests (#1079) 2020-05-28 10:28:14 +02:00
spec_epoch_processing use shuffled validator cache in more places; cleanups (#1095) 2020-06-03 07:42:08 +02:00
all_tests.nim Implement EIP 2335 compliant keystore 2020-05-29 16:38:55 +03:00
all_tests.nim.cfg Fix a strange build failure in the tests 2019-11-11 23:29:36 +00:00
test_attestation_pool.nim remove some copies 2020-05-22 17:15:35 +00:00
test_beacon_chain_db.nim avoid stack allocations in some tests (#1079) 2020-05-28 10:28:14 +02:00
test_beacon_node.nim Generate markdown test reports 2020-03-13 14:38:59 +00:00
test_beaconstate.nim Remove more warnings, both deprecations and unused imports (#884) 2020-04-11 19:41:50 +02:00
test_block_pool.nim remove some copies 2020-05-22 17:15:35 +00:00
test_helpers.nim Generate markdown test reports 2020-03-13 14:38:59 +00:00
test_honest_validator.nim remove ssz stint support (#1046) 2020-05-20 19:05:22 +02:00
test_interop.nim ssz: move ref support outside (#943) 2020-04-29 22:12:07 +02:00
test_keystore.nim Add more tests 2020-05-29 16:38:55 +03:00
test_mainchain_monitor.nim catch invalid 0-raw-byte Bitlist SSZ inputs during parsing (#936) 2020-04-26 16:26:53 +00:00
test_mocking.nim refactor some Merkle proof generation code outside tests; remove unused variables/functions 2020-04-15 09:59:49 +00:00
test_peer_connection.nim Implement most of the v0.11.1 networking changes 2020-04-16 01:01:18 +03:00
test_peer_pool.nim Add "drop by score" ability to PeerPool. (#917) 2020-04-23 17:31:00 +02:00
test_ssz.nim support all basic types 2020-06-02 11:44:51 +02:00
test_state_transition.nim avoid stack allocations in some tests (#1079) 2020-05-28 10:28:14 +02:00
test_sync_manager.nim Sync freeze fixes. (#1072) 2020-05-28 07:02:28 +02:00
test_sync_protocol.nim Generate markdown test reports 2020-03-13 14:38:59 +00:00
test_zero_signature.nim Generate markdown test reports 2020-03-13 14:38:59 +00:00
testblockutil.nim switch state transition caching to match EpochRef (#1089) 2020-06-01 09:44:50 +02:00
testutil.nim bump submodules (#1043) 2020-05-20 06:57:39 +02:00