prysm-pulse/testing
Manu NALEPA 06a5548424
Slasher: Fixes double votes false positive and attester slashings duplication. (#13596)
* `Test_processAttestations`: Remove duplicated tests.

* Sort indexed attestations by data root.

* `processAttestations`: Don't return duplicate slashings anymore.

Fix https://github.com/prysmaticlabs/prysm/issues/13592.

* `AttesterDoubleVote`: Rename fields.

* Detect double votes in different batches.

In order to do that:
1. Each attestation of the batch is tested against the other attestations of the batch.
2. Each attestation of the batch is tested against the content of the database.
2. Attestations are saved into the database.

Fixes https://github.com/prysmaticlabs/prysm/issues/13590.
2024-02-12 17:35:22 +00:00
..
assert Refactor Exported Names to Follow Golang Best Practices (#13075) 2023-10-20 16:45:33 +00:00
assertions Enable wastedassign linter & fix findings (#13507) 2024-01-25 17:07:48 +00:00
benchmark Enable profile guided optimization for beacon-chain (#13035) 2023-10-30 05:52:36 +00:00
bls Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
endtoend Move API structs to api module (#13577) 2024-02-03 11:57:01 +00:00
middleware Move API structs to api module (#13577) 2024-02-03 11:57:01 +00:00
mock Hook to slot stream instead of block stream on the VC (#13327) 2023-12-13 23:13:56 +00:00
require Block backfilling (#12968) 2024-01-23 07:54:30 +00:00
slasher/simulator Slasher: Fixes double votes false positive and attester slashings duplication. (#13596) 2024-02-12 17:35:22 +00:00
spectest Add Sync Checker (#13580) 2024-02-06 02:34:30 +00:00
spectypes Cleaner genesis state population (#11809) 2022-12-22 05:38:51 +00:00
util Block backfilling (#12968) 2024-01-23 07:54:30 +00:00
validator-mock Implement beacon committee selections (#13503) 2024-02-05 15:43:51 +00:00
README.md Update bazel and other CI improvements (#13246) 2023-12-01 22:20:54 +00:00

Prysm Testing

Special bazel tags:

  • "CI_race_detection": Apply this tag to test targets that want to run with race detection in CI.