nimbus-eth2/tests/official
Jacek Sieka 03a147ab8d
avoid state copy in state transition (#930)
In BlockPool, we keep the head state around, so it's trivial to restore
the temporary state there and keep going as if nothing happened.

This solves 3 problems:
* stack space - the state copy on mainnet is huge
* GC scanning - using stack space for state slows down the GC
significantly
* reckless copying - the copy itself takes a long time

In state_sim, we'll do the same and allocate on heap - this helps a
little with GC - without it, the collection of the temporary strings
created with `toHex` while printing the json dominates the trace.
2020-04-26 21:13:33 +02:00
..
all_fixtures_require_ssz.nim Generate markdown test reports 2020-03-13 14:38:59 +00:00
fixtures_utils.nim 0.11.1 beacon chain spec update (#836) 2020-03-30 11:31:44 +00:00
test_fixture_bls.nim Generate markdown test reports 2020-03-13 14:38:59 +00:00
test_fixture_const_sanity_check.nim refactor some Merkle proof generation code outside tests; remove unused variables/functions 2020-04-15 09:59:49 +00:00
test_fixture_operations_attestations.nim Introduce BeaconNodeRef and use it in all the right places 2020-04-26 13:04:53 +03:00
test_fixture_operations_attester_slashings.nim Introduce BeaconNodeRef and use it in all the right places 2020-04-26 13:04:53 +03:00
test_fixture_operations_block_header.nim Introduce BeaconNodeRef and use it in all the right places 2020-04-26 13:04:53 +03:00
test_fixture_operations_deposits.nim Introduce BeaconNodeRef and use it in all the right places 2020-04-26 13:04:53 +03:00
test_fixture_operations_proposer_slashings.nim Introduce BeaconNodeRef and use it in all the right places 2020-04-26 13:04:53 +03:00
test_fixture_operations_voluntary_exit.nim Introduce BeaconNodeRef and use it in all the right places 2020-04-26 13:04:53 +03:00
test_fixture_sanity_blocks.nim avoid state copy in state transition (#930) 2020-04-26 21:13:33 +02:00
test_fixture_sanity_slots.nim Introduce BeaconNodeRef and use it in all the right places 2020-04-26 13:04:53 +03:00
test_fixture_shuffling.nim measure/find slow tests (#624) 2019-12-05 11:27:00 +01:00
test_fixture_ssz_consensus_objects.nim Introduce BeaconNodeRef and use it in all the right places 2020-04-26 13:04:53 +03:00
test_fixture_ssz_consensus_objects.nim.cfg Ssz fixes (#566) 2019-11-19 12:04:51 +01:00
test_fixture_ssz_generic_types.nim Pass the test suite with a BeaconState ref type 2020-04-26 13:04:53 +03:00
test_fixture_state_transition_epoch.nim Introduce BeaconNodeRef and use it in all the right places 2020-04-26 13:04:53 +03:00