nimbus-eth2/tests/official
Jacek Sieka 8b01284b0e
cache block hash (#1329)
hash_tree_root was turning up when running beacon_node, turns out to be
repeated hash_tree_root invocations - this pr brings them back down to
normal.

this PR caches the root of a block in the SignedBeaconBlock object -
this has the potential downside that even invalid blocks will be hashed
(as part of deserialization) - later, one could imagine delaying this
until checks have passed

there's also some cleanup of the `cat=` logs which were applied randomly
and haphazardly, and to a large degree are duplicated by other
information in the log statements - in particular, topics fulfill the
same role
2020-07-16 15:16:51 +02:00
..
all_fixtures_require_ssz.nim Generate markdown test reports 2020-03-13 14:38:59 +00:00
fixtures_utils.nim ensure SPEC_VERSION stays synchronized with actual spec tested 2020-06-16 15:43:40 +00:00
test_fixture_bls.nim Generate markdown test reports 2020-03-13 14:38:59 +00:00
test_fixture_const_sanity_check.nim Working test suite with run-time presets 2020-07-08 02:02:14 +03:00
test_fixture_operations_attestations.nim restore EpochRef and flush statecaches on epoch transitions (#1312) 2020-07-15 12:44:18 +02:00
test_fixture_operations_attester_slashings.nim restore EpochRef and flush statecaches on epoch transitions (#1312) 2020-07-15 12:44:18 +02:00
test_fixture_operations_block_header.nim restore EpochRef and flush statecaches on epoch transitions (#1312) 2020-07-15 12:44:18 +02:00
test_fixture_operations_deposits.nim Merge devel and resolve the conflicts 2020-07-08 15:36:03 +03:00
test_fixture_operations_proposer_slashings.nim restore EpochRef and flush statecaches on epoch transitions (#1312) 2020-07-15 12:44:18 +02:00
test_fixture_operations_voluntary_exit.nim adopt Result[void, string] in place of some bool return signatures (#1275) 2020-07-03 17:03:14 +00:00
test_fixture_sanity_blocks.nim Working test suite with run-time presets 2020-07-08 02:02:14 +03:00
test_fixture_sanity_slots.nim state_transition implements the spec fairly directly (#1220) 2020-06-23 13:54:24 +00:00
test_fixture_shuffling.nim measure/find slow tests (#624) 2019-12-05 11:27:00 +01:00
test_fixture_ssz_consensus_objects.nim cache block hash (#1329) 2020-07-16 15:16:51 +02: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 reorder ssz (#1099) 2020-06-03 15:52:02 +02:00
test_fixture_state_transition_epoch.nim restore EpochRef and flush statecaches on epoch transitions (#1312) 2020-07-15 12:44:18 +02:00