lighthouse/beacon_node/beacon_chain/tests
Jimmy Chen 36d8849813 Add commmand for pruning states (#4835)
## Issue Addressed

Closes #4481. 

(Continuation of #4648)

## Proposed Changes

- [x] Add `lighthouse db prune-states`
- [x] Make it work
- [x] Ensure block roots are handled correctly (to be addressed in 4735)
- [x] Check perf on mainnet/Goerli/Gnosis (takes a few seconds max)
- [x] Run block root healing logic (#4875 ) at the beginning
- [x] Add some tests
- [x] Update docs
- [x] Add `--freezer` flag and other improvements to `lighthouse db inspect`

Co-authored-by: Michael Sproul <michael@sigmaprime.io>
Co-authored-by: Jimmy Chen <jimmy@sigmaprime.io>
Co-authored-by: Michael Sproul <micsproul@gmail.com>
2023-11-03 00:12:19 +00:00
..
attestation_production.rs add processing and processed caching to the DA checker (#4732) 2023-10-03 09:59:33 -04:00
attestation_verification.rs Merge branch 'unstable' into merge-unstable-to-deneb-20230822 2023-08-22 21:20:47 +10:00
block_verification.rs add processing and processed caching to the DA checker (#4732) 2023-10-03 09:59:33 -04:00
capella.rs Cache target attester balances for unrealized FFG progression calculation (#4362) 2023-06-30 01:13:06 +00:00
events.rs Add blob_sidecar event to SSE (#4790) 2023-10-12 10:13:08 -04:00
main.rs Add blob_sidecar event to SSE (#4790) 2023-10-12 10:13:08 -04:00
merge.rs Fix conflicts rebasing eip4844 2023-02-10 09:41:23 +01:00
op_verification.rs fixup! Disable use of system time in tests 2023-02-15 09:20:30 +01:00
payload_invalidation.rs Merge branch 'unstable' into merge-unstable-to-deneb-20230822 2023-08-22 21:20:47 +10:00
rewards.rs #4512 inactivity calculation for Altair (#4807) 2023-10-20 06:23:28 +00:00
store_tests.rs Add commmand for pruning states (#4835) 2023-11-03 00:12:19 +00:00
sync_committee_verification.rs Aggregate subsets (#3493) 2023-06-27 01:06:49 +00:00
tests.rs Merge branch 'unstable' into merge-unstable-to-deneb-20230822 2023-08-22 21:20:47 +10:00