lighthouse/consensus/state_processing/src/per_block_processing
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
..
altair Clippy lints for rust 1.66 (#3810) 2022-12-16 04:04:00 +00:00
altair.rs Altair consensus changes and refactors (#2279) 2021-07-09 06:15:32 +00:00
block_signature_verifier.rs Simplify payload traits and reduce cloning (#3976) 2023-02-15 14:17:56 +11:00
errors.rs Clean capella (#4019) 2023-03-01 03:19:02 +00:00
is_valid_indexed_attestation.rs Rust 1.54.0 lints (#2483) 2021-07-30 01:11:47 +00:00
process_operations.rs Use head state for exit verification (#4183) 2023-04-14 01:11:46 +00:00
signature_sets.rs Sign BlsToExecutionChange w/ GENESIS_FORK_VERSION 2023-01-13 10:47:19 -06:00
tests.rs Fix attestation withdrawals root mismatch (#4249) 2023-05-09 10:48:15 +00:00
verify_attestation.rs Prioritise important parts of block processing (#3696) 2022-11-30 05:22:58 +00:00
verify_attester_slashing.rs Rust 1.54.0 lints (#2483) 2021-07-30 01:11:47 +00:00
verify_bls_to_execution_change.rs Split common crates out into their own repos (#3890) 2023-04-28 01:15:40 +00:00
verify_deposit.rs Optimise HTTP validator lookups (#3559) 2022-10-15 22:25:51 +00:00
verify_exit.rs Use head state for exit verification (#4183) 2023-04-14 01:11:46 +00:00
verify_proposer_slashing.rs Altair consensus changes and refactors (#2279) 2021-07-09 06:15:32 +00:00