lighthouse/consensus
Jimmy Chen 8d9c748025 Fix attestation withdrawals root mismatch (#4249)
## Issue Addressed

Addresses #4234 

## Proposed Changes

- Skip withdrawals processing in an inconsistent state replay. 
- Repurpose `StateRootStrategy`: rename to `StateProcessingStrategy` and always skip withdrawals if using `StateProcessingStrategy::Inconsistent`
- Add a test to reproduce the scenario


Co-authored-by: Jimmy Chen <jimmy@sigmaprime.io>
2023-05-09 10:48:15 +00:00
..
cached_tree_hash Split common crates out into their own repos (#3890) 2023-04-28 01:15:40 +00:00
fork_choice Split common crates out into their own repos (#3890) 2023-04-28 01:15:40 +00:00
int_to_bytes Update to Rust 1.59 and 2021 edition (#3038) 2022-02-25 00:10:17 +00:00
merkle_proof Split common crates out into their own repos (#3890) 2023-04-28 01:15:40 +00:00
proto_array simplify calculate_committee_fraction (#4213) 2023-05-03 09:02:58 +00:00
safe_arith Inline safe_arith methods (#3229) 2022-05-31 06:09:12 +00:00
state_processing Fix attestation withdrawals root mismatch (#4249) 2023-05-09 10:48:15 +00:00
swap_or_not_shuffle Split common crates out into their own repos (#3890) 2023-04-28 01:15:40 +00:00
types Split common crates out into their own repos (#3890) 2023-04-28 01:15:40 +00:00