nimbus-eth2/tests
Etan Kissling 6af70e2f80
wrap `applyExecutionPayload` in factories for Nim 2.0 (#5395)
In Nim 2.0, the `test_fixture_operations` files fail to compile with:

```
Error: 'result' is of type <Result[system.void, system.cstring]> which cannot be captured as it would violate memory safety, declared here: /nimbus-eth2/tests/consensus_spec/bellatrix/test_fixture_operations.nim(130, 5); using '-d:nimNoLentIterators' helps in some cases. Consider using a <ref Result[system.void, system.cstring]> which can be captured.
```

Wrapping the `applyExecutionPayload` in a factory that takes `path`
avoids this problem.
2023-09-06 10:35:37 +02:00
..
consensus_spec wrap `applyExecutionPayload` in factories for Nim 2.0 (#5395) 2023-09-06 10:35:37 +02: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 move mock genesis block hash to `tests` (#5353) 2023-08-25 11:28:42 +02: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 adjust log level to reduce ci log spam (#5232) 2023-08-03 23:09:08 +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 async batch verification (+40% sig verification throughput) (#5176) 2023-08-03 11:36:45 +03:00
test_beacon_chain_db.nim move mock genesis block hash to `tests` (#5353) 2023-08-25 11:28:42 +02:00
test_beacon_time.nim dependent slot helpers 2023-05-16 11:04:25 +02:00
test_block_dag.nim generalize `commonAncestor` function to `BlockId` (#5192) 2023-07-18 17:37:53 +02:00
test_block_processor.nim EIP-4788/parentBeaconBlockRoot fixes (#5318) 2023-08-19 08:38:17 +00: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 rm i386 test_blockchain_dag workaround (#5356) 2023-08-25 15:24:56 +00: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
test_deposit_snapshots.nim fix relative import paths for Nim 2.0 (#5397) 2023-09-06 08:17:59 +00:00
test_discovery.nim remove `{.raises: [Defect].}` Nim 1.2 compatibility (#5352) 2023-08-25 11:29:07 +02:00
test_el_conf.nim avoid Nim 2.0 issue when loading config (#5202) 2023-07-19 20:26:30 +02:00
test_el_manager.nim Rename "data gas" to "blob gas" (#5216) 2023-08-02 22:07:57 +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 async batch verification (+40% sig verification throughput) (#5176) 2023-08-03 11:36:45 +03:00
test_helpers.nim fix relative import paths for Nim 2.0 (#5397) 2023-09-06 08:17:59 +00:00
test_honest_validator.nim subscribe to Deneb blob subnets (#5342) 2023-08-23 19:31:41 +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 remove `{.raises: [Defect].}` Nim 1.2 compatibility (#5352) 2023-08-25 11:29:07 +02: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 bump unittest2, clean up suite names (#5384) 2023-09-04 13:05:11 +00:00
test_light_client_processor.nim async batch verification (+40% sig verification throughput) (#5176) 2023-08-03 11:36:45 +03: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
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 Merkle is someone's name (#5265) 2023-08-07 10:06:47 +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: Fix API timeouts issue. (#5297) 2023-08-16 16:14:39 +00:00
test_validator_pool.nim Dynamic validators loop (#5385) 2023-09-04 22:14:58 +03:00
test_zero_signature.nim
testblockutil.nim rm more state_sim remnants (#5334) 2023-08-23 19:40:48 +03:00
testdbutil.nim allow initializing test DBs from later forks (#5186) 2023-07-14 09:35:58 +02:00
teststateutil.nim remove most std/options imports (#4778) 2023-03-31 20:46:47 +00:00
testutil.nim rm more state_sim remnants (#5334) 2023-08-23 19:40:48 +03:00