nimbus-eth2/tests
Etan Kissling 74bb4b1411
simplify RANDAO recovery in `ShufflingRef` acceleration (#5183)
Current RANDAO recovery logic is quite complex as it optimizes for the
minimum amount of database reads. Loading blocks isn't the bottleneck
though, so rather make the implementation more concise by avoiding the
complex strategy planning step. Note that this also prepares for an even
faster implementation for post-merge blocks in the future that extracts
RANDAO from `ExecutionPayload` directly if available, so even in cases
where efficiency is slightly lower, only historical data is affected.

`time nim c -r tests/test_blockchain_dag` (cached binary):

- new: 145.45s, 133.59s, 144.65s, 127.69s, 136.14s
- old: 149.15s, 150.84s, 135.77s, 137.49s, 133.89s
2023-07-12 17:27:05 +02:00
..
consensus_spec automated consensus spec URL updating to v1.4.0-beta.0 (#5121) 2023-06-24 15:43:30 +00:00
fuzzing test fixture cleanups (#2976) 2021-10-12 13:36:52 +02:00
helpers fix ExecutionPayload(Header) JSON serialization (#3679) 2022-06-01 14:57:28 +02:00
media Add a JWT file that must be present on the file system for the test suite to succeed 2023-03-17 17:49:39 +02:00
mocking Rename eth1/ -> el/ and eth1_monitor.nim -> el_monitor.nim (#4944) 2023-05-15 05:05:12 +00:00
simulation fix false positive getopt failure with multiple getopt matches in searched path (#4797) 2023-04-08 00:18:29 +00:00
slashing_protection use ZERO_HASH for default(Eth2Digest)/Eth2Digest() in func calls (#3770) 2022-06-18 04:57:37 +00:00
all_tests.nim New stricter beacon-node URL parsing 2023-05-19 02:02:20 +03:00
nim.cfg Local sim impovements (#4551) 2023-02-23 02:10:07 +00:00
test_action_tracker.nim opt-out support for v1.4.0 attestation stability subnets (#5128) 2023-06-30 05:23:15 +00:00
test_attestation_pool.nim reduce `nim-eth` dependencies just for RNG (#5099) 2023-06-19 22:43:50 +00:00
test_beacon_chain_db.nim rename `EIP4844` > `Deneb` in `test_beacon_chain_db` (#4721) 2023-03-11 02:49:17 +01:00
test_beacon_time.nim dependent slot helpers 2023-05-16 11:04:25 +02:00
test_block_dag.nim Revert "Revert "accelerate `getShufflingRef` (#4911)" (#4958)" 2023-05-15 17:41:40 +02:00
test_block_processor.nim Fetch by-root request directly from quarantine (#5167) 2023-07-11 18:22:02 +02:00
test_block_quarantine.nim Fetch by-root request directly from quarantine (#5167) 2023-07-11 18:22:02 +02:00
test_blockchain_dag.nim simplify RANDAO recovery in `ShufflingRef` acceleration (#5183) 2023-07-12 17:27:05 +02:00
test_conf.nim remove Nim 1.2-compatible `push raise`s and update copyright notice years (#4528) 2023-01-20 14:14:37 +00:00
test_datatypes.nim remove false OnBlockAdded dependency on phase0 HashedBeaconState (#2661) 2021-06-21 08:35:24 +00:00
test_deposit_snapshots.nim Support for obtaining deposit snapshots during trustedNodeSync (#4303) 2022-12-07 12:24:51 +02:00
test_discovery.nim reduce `nim-eth` dependencies just for RNG (#5099) 2023-06-19 22:43:50 +00:00
test_el_conf.nim Rename eth1/ -> el/ and eth1_monitor.nim -> el_monitor.nim (#4944) 2023-05-15 05:05:12 +00:00
test_el_manager.nim use v1.4.0-alpha.1 consensus spec test vectors (#5026) 2023-06-03 21:55:08 +00:00
test_engine_authentication.nim remove unused imports in tests/ (#3713) 2022-06-07 17:05:06 +00:00
test_eth2_ssz_serialization.nim use isZeroMemory for Eth2Digest comparisons (#3386) 2022-02-14 05:26:19 +00:00
test_exit_pool.nim don't clear validator change subpools after creating each block (#4704) 2023-03-09 18:19:36 +02:00
test_forks.nim test forks.nim capella and deneb block/state ssz serialization (#4772) 2023-03-29 13:22:19 +00:00
test_gossip_transition.nim rename ConsensusFork.EIP4844 to ConsensusFork.Deneb (#4692) 2023-03-04 13:35:39 +00:00
test_gossip_validation.nim reduce `nim-eth` dependencies just for RNG (#5099) 2023-06-19 22:43:50 +00:00
test_helpers.nim remove empty block fallback now that capella's on mainnnet (#4821) 2023-04-18 09:21:15 +00:00
test_honest_validator.nim Add blob handling to message router (#5106) 2023-06-28 17:55:31 +00:00
test_key_splitting.nim reduce `nim-eth` dependencies just for RNG (#5099) 2023-06-19 22:43:50 +00:00
test_keymanager_api.nim reduce `nim-eth` dependencies just for RNG (#5099) 2023-06-19 22:43:50 +00:00
test_keystore.nim reduce `nim-eth` dependencies just for RNG (#5099) 2023-06-19 22:43:50 +00:00
test_keystore_management.nim reduce `nim-eth` dependencies just for RNG (#5099) 2023-06-19 22:43:50 +00:00
test_light_client.nim reduce `nim-eth` dependencies just for RNG (#5099) 2023-06-19 22:43:50 +00:00
test_light_client_processor.nim reduce `nim-eth` dependencies just for RNG (#5099) 2023-06-19 22:43:50 +00:00
test_message_signatures.nim Implement blob sidecar signatures (#5072) 2023-06-16 15:47:18 +00:00
test_network_metadata.nim Disable the use of incbin as it breaks the retail build on Linux/ARM 2023-05-19 04:08:02 +03:00
test_peer_pool.nim proc -> func in ncli/, research/, and test/ (#2818) 2021-08-25 14:51:52 +00:00
test_remote_keystore.nim use v1.4.0-alpha.1 consensus spec test vectors (#5026) 2023-06-03 21:55:08 +00:00
test_serialization.nim remove most std/options imports (#4778) 2023-03-31 20:46:47 +00:00
test_signing_node.nim Web3Signer support only for only Bellatrix and later (#5107) 2023-06-29 09:36:43 +00:00
test_spec.nim `BeaconStateFork/BeaconBlockFork` -> `ConsensusFork` (#4560) 2023-01-28 19:53:41 +00:00
test_statediff.nim refactor state diffs not to require two states in memory (#4986) 2023-05-30 11:55:32 +03:00
test_sync_committee_pool.nim reduce `nim-eth` dependencies just for RNG (#5099) 2023-06-19 22:43:50 +00:00
test_sync_manager.nim Fix sync for blocks older than MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS (#4977) 2023-05-19 16:25:11 +00:00
test_validator_client.nim VC: Use scoring function to select best attestation data when using multiple BNs. (#5101) 2023-07-06 11:14:22 +02:00
test_validator_pool.nim restore doppelganger check on connectivity loss (#4616) 2023-02-20 13:28:56 +02:00
test_zero_signature.nim update spec references from eth2.0-specs to consensus-specs and to v1.1.0-beta.2 (#2822) 2021-08-26 10:21:52 +02:00
testblockutil.nim automated consensus spec URL updating to v1.4.0-beta.0 (#5121) 2023-06-24 15:43:30 +00:00
testdbutil.nim Revert "Revert "accelerate `getShufflingRef` (#4911)" (#4958)" 2023-05-15 17:41:40 +02:00
teststateutil.nim remove most std/options imports (#4778) 2023-03-31 20:46:47 +00:00
testutil.nim remove Nim 1.2-compatible `push raise`s and update copyright notice years (#4528) 2023-01-20 14:14:37 +00:00