lighthouse-pulse/validator_client/slashing_protection/src
Michael Sproul 20339ade01 Refine and test slashing protection semantics (#1885)
## Issue Addressed

Closes #1873

## Proposed Changes

Fixes the bug in slashing protection import (#1873) by pruning the database upon import.

Also expands the test generator to cover this case and a few others which are under discussion here:

https://ethereum-magicians.org/t/eip-3076-validator-client-interchange-format-slashing-protection/4883

## Additional Info

Depending on the outcome of the discussion on Eth Magicians, we can either wait for consensus before merging, or merge our preferred solution and patch things later.
2020-11-24 07:21:14 +00:00
..
bin Refine and test slashing protection semantics (#1885) 2020-11-24 07:21:14 +00:00
attestation_tests.rs Implement Slashing Protection (#1116) 2020-05-18 16:25:16 +10:00
block_tests.rs Implement Slashing Protection (#1116) 2020-05-18 16:25:16 +10:00
interchange_test.rs Refine and test slashing protection semantics (#1885) 2020-11-24 07:21:14 +00:00
interchange.rs Update slashing protection interchange to v5 (#1816) 2020-11-09 05:04:01 +00:00
lib.rs Refine and test slashing protection semantics (#1885) 2020-11-24 07:21:14 +00:00
parallel_tests.rs Implement Slashing Protection (#1116) 2020-05-18 16:25:16 +10:00
registration_tests.rs Implement slashing protection interchange format (#1544) 2020-10-02 01:42:27 +00:00
signed_attestation.rs Refine and test slashing protection semantics (#1885) 2020-11-24 07:21:14 +00:00
signed_block.rs Refine and test slashing protection semantics (#1885) 2020-11-24 07:21:14 +00:00
slashing_database.rs Refine and test slashing protection semantics (#1885) 2020-11-24 07:21:14 +00:00
test_utils.rs Refine and test slashing protection semantics (#1885) 2020-11-24 07:21:14 +00:00