nimbus-eth2/tests
Etan Kissling 23fa8d0c70
handle `scanf` exceptions in `test_fixture_ssz_generic_types` (#5993)
`scanf` apparently has both a `bool` return as well as raising random
exceptions depending on what functions get called by the `macro`.
To make this explicit, catch the `ValueError` from the generated
`parseInt` call, to separate `scanf` behaviour from the actual SSZ
test logic. In the end, it mostly doesn't matter as there are some
`doAssert wasMatched` on the next line (not everywhere though).
But it still makes the `scanf` internals explicit, so is clearer.
2024-02-29 10:47:00 +00:00
..
consensus_spec handle `scanf` exceptions in `test_fixture_ssz_generic_types` (#5993) 2024-02-29 10:47:00 +00:00
fuzzing add missing `std/` prefix to more imports (#5696) 2024-01-06 07:18:28 +01:00
helpers add missing `std/` prefix to more imports (#5696) 2024-01-06 07:18:28 +01: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 verify `genesis_time` more strictly (fixes #1667) (#5694) 2024-01-06 15:26:56 +01:00
simulation add `KZGProof` and `Blob` REST JSON serializations (#5526) 2023-10-25 23:50:59 +02:00
slashing_protection improve cleanup in error situation in slashing protection tests (#5991) 2024-02-28 18:28:04 +01:00
all_tests.nim implement getBlindedBlock REST API (#5829) 2024-01-31 03:18:55 +00:00
nim.cfg chronos: bump (#5684) 2024-01-05 10:08:38 +01:00
test_action_tracker.nim verify `genesis_time` more strictly (fixes #1667) (#5694) 2024-01-06 15:26:56 +01:00
test_attestation_pool.nim add `{.push raises: [].}` to recently modified files (#5908) 2024-02-18 01:16:49 +00:00
test_beacon_chain_db.nim verify `genesis_time` more strictly (fixes #1667) (#5694) 2024-01-06 15:26:56 +01:00
test_beacon_time.nim Fix typos (#5835) 2024-01-29 09:37:38 +00:00
test_block_dag.nim rm unused code in {ncli,research,tests}/ (#5809) 2024-01-21 07:55:03 +01:00
test_block_processor.nim rm unused code in {ncli,research,tests}/ (#5809) 2024-01-21 07:55:03 +01:00
test_block_quarantine.nim verify `genesis_time` more strictly (fixes #1667) (#5694) 2024-01-06 15:26:56 +01:00
test_blockchain_dag.nim add `{.push raises: [].}` to recently modified files (#5908) 2024-02-18 01:16:49 +00:00
test_conf.nim verify `genesis_time` more strictly (fixes #1667) (#5694) 2024-01-06 15:26:56 +01:00
test_datatypes.nim remove false OnBlockAdded dependency on phase0 HashedBeaconState (#2661) 2021-06-21 08:35:24 +00:00
test_deposit_snapshots.nim rm unused code in {ncli,research,tests}/ (#5809) 2024-01-21 07:55:03 +01:00
test_discovery.nim assert exceptions that statically cannot occur in test code (#5989) 2024-02-28 20:15:49 +00:00
test_el_conf.nim explicitly mention `{.raises.}` in `tests` folder (#5990) 2024-02-29 10:28:32 +00:00
test_el_manager.nim verify `genesis_time` more strictly (fixes #1667) (#5694) 2024-01-06 15:26:56 +01: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_forks.nim verify `genesis_time` more strictly (fixes #1667) (#5694) 2024-01-06 15:26:56 +01:00
test_gossip_transition.nim verify `genesis_time` more strictly (fixes #1667) (#5694) 2024-01-06 15:26:56 +01:00
test_gossip_validation.nim `noCancel` in `test_gossip_validation` (#5907) 2024-02-18 00:40:15 +00:00
test_helpers.nim add `{.push raises: [].}` to recently modified files (#5908) 2024-02-18 01:16:49 +00:00
test_honest_validator.nim verify `genesis_time` more strictly (fixes #1667) (#5694) 2024-01-06 15:26:56 +01:00
test_key_splitting.nim verify `genesis_time` more strictly (fixes #1667) (#5694) 2024-01-06 15:26:56 +01:00
test_keymanager_api.nim Fix typos (#5835) 2024-01-29 09:37:38 +00:00
test_keystore.nim rm unused code in {ncli,research,tests}/ (#5809) 2024-01-21 07:55:03 +01:00
test_keystore_management.nim rm unused code in {ncli,research,tests}/ (#5809) 2024-01-21 07:55:03 +01:00
test_light_client.nim add Electra overloads for spec functions; add Electra block processing (#5963) 2024-02-26 02:38:21 +00:00
test_light_client_processor.nim add Electra overloads for spec functions; add Electra block processing (#5963) 2024-02-26 02:38:21 +00:00
test_message_signatures.nim rm unused code in {ncli,research,tests}/ (#5809) 2024-01-21 07:55:03 +01:00
test_network_metadata.nim Add metadata for the Holesky network (#5337) 2023-09-08 08:53:27 +03:00
test_peer_pool.nim use `closureScope` with `{.raises.}` in `test_peer_pool` (#5992) 2024-02-29 00:57:19 +00:00
test_remote_keystore.nim verify `genesis_time` more strictly (fixes #1667) (#5694) 2024-01-06 15:26:56 +01:00
test_rest_json_serialization.nim Shared validator pubkey (#5883) 2024-02-21 20:06:19 +01:00
test_serialization.nim verify `genesis_time` more strictly (fixes #1667) (#5694) 2024-01-06 15:26:56 +01:00
test_signing_node.nim assert exceptions that statically cannot occur in test code (#5989) 2024-02-28 20:15:49 +00:00
test_spec.nim verify `genesis_time` more strictly (fixes #1667) (#5694) 2024-01-06 15:26:56 +01:00
test_statediff.nim verify `genesis_time` more strictly (fixes #1667) (#5694) 2024-01-06 15:26:56 +01:00
test_sync_committee_pool.nim verify `genesis_time` more strictly (fixes #1667) (#5694) 2024-01-06 15:26:56 +01:00
test_sync_manager.nim add `{.push raises: [].}` to recently modified files (#5908) 2024-02-18 01:16:49 +00:00
test_toblindedblock.nim implement getBlindedBlock REST API (#5829) 2024-01-31 03:18:55 +00:00
test_validator_change_pool.nim verify `genesis_time` more strictly (fixes #1667) (#5694) 2024-01-06 15:26:56 +01:00
test_validator_client.nim raises for gossip (#5808) 2024-01-22 17:34:54 +01:00
test_validator_pool.nim verify `genesis_time` more strictly (fixes #1667) (#5694) 2024-01-06 15:26:56 +01: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
testbcutil.nim add `{.push raises: [].}` to recently modified files (#5908) 2024-02-18 01:16:49 +00:00
testblockutil.nim automated consensus spec URL updating to v1.4.0-beta.7 (#5942) 2024-02-21 19:44:48 +00:00
testdbutil.nim verify `genesis_time` more strictly (fixes #1667) (#5694) 2024-01-06 15:26:56 +01:00
teststateutil.nim Revert "initial Electra support skeleton" (#5955) 2024-02-25 19:42:44 +00:00
testutil.nim verify `genesis_time` more strictly (fixes #1667) (#5694) 2024-01-06 15:26:56 +01:00