nimbus-eth2/tests
Jacek Sieka e1e809eeb7
Batch slashing protection registration (#5604)
This PR brings down the time to send 100 attestations from ~1s to
~100ms, making it feasible to run 10k validators on a single node (which
regularly send 300 attestations / slot).

This is done by batching the slashing protection database write in a
single transaction thus avoiding a slow fsync for every signature -
effects will be more pronounced on slow drives.

The benefit applies both to beacon and client validators.
2023-11-19 14:08:07 +01:00
..
consensus_spec update some consensus spec URLs to v1.4.0-beta.4 (#5594) 2023-11-11 06:27:53 +01: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 add `KZGProof` and `Blob` REST JSON serializations (#5526) 2023-10-25 23:50:59 +02:00
slashing_protection Batch slashing protection registration (#5604) 2023-11-19 14:08:07 +01:00
all_tests.nim fix Deneb RestPublishedSignedBlockContents REST JSON decoding (#5520) 2023-10-24 05:50:32 +00:00
nim.cfg remove `XDeclaredButNotUsed` exclusion from Nim configurations (#5595) 2023-11-11 07:54:52 +00:00
test_action_tracker.nim remove pre-v1.4.0 attestation stability subnets (#5402) 2023-09-11 16:03:34 +00:00
test_attestation_pool.nim Bump stint to v2.0: new array backend (#5113) 2023-09-13 01:16:04 +07:00
test_beacon_chain_db.nim update Deneb for blob sidecar inclusion proofs (#5565) 2023-11-06 07:48:43 +01: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 unused code (#5596) 2023-11-11 11:49:34 +03: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 fix relative import paths for Nim 2.0 (#5397) 2023-09-06 08:17:59 +00:00
test_discovery.nim bump nim-eth to remove ValidIpAddress and replace with IpAddress (#5587) 2023-11-10 16:58:48 +01: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 align `Beacon(Block(Body)?|State)Type` with other fork sugar (#5483) 2023-10-05 14:01:40 +02:00
test_gossip_transition.nim rename ConsensusFork.EIP4844 to ConsensusFork.Deneb (#4692) 2023-03-04 13:35:39 +00:00
test_gossip_validation.nim `blck` --> `forkyBlck` when using `withBlck` / `withStateAndBlck` (#5451) 2023-09-21 12:49:14 +02: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 introduce `BlobId` type for tracking blob subnets (#5560) 2023-11-04 14:20:34 +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 replace `Eth2NetworkMetadata` case object with `Result` (#5452) 2023-09-22 23:45:24 +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 reduce redundant zero initialization for LC data objects (#5479) 2023-10-04 18:11:45 +02:00
test_light_client_processor.nim reduce redundant zero initialization for LC data objects (#5479) 2023-10-04 18:11:45 +02:00
test_message_signatures.nim update Deneb for blob sidecar inclusion proofs (#5565) 2023-11-06 07:48:43 +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 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_rest_json_serialization.nim update Deneb for blob sidecar inclusion proofs (#5565) 2023-11-06 07:48:43 +01:00
test_serialization.nim REST server fixes and improvements. (#5422) 2023-09-27 16:45:33 +02:00
test_signing_node.nim VC: new scoring functions. (#5447) 2023-11-14 12:13:26 +01:00
test_spec.nim improve test coverage of post-Bellatrix initialize_beacon_state_from_eth1 (#5517) 2023-10-24 01:58:52 +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 update Deneb for blob sidecar inclusion proofs (#5565) 2023-11-06 07:48:43 +01:00
test_validator_client.nim VC: new scoring functions. (#5447) 2023-11-14 12:13:26 +01:00
test_validator_pool.nim Add the --verifying-web3-signer-url configuration option (#5504) 2023-10-13 15:42:00 +03: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.4 (#5577) 2023-11-08 05:28:03 +00:00
testdbutil.nim add non-SZ getBlobSidecar and BlobSidecar database tests (#5528) 2023-10-26 03:40:04 +00: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