mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-14 18:32:42 +00:00
Add tests for importing blocks on invalid parents (#3123)
## Issue Addressed NA ## Proposed Changes - Adds more checks to prevent importing blocks atop parent with invalid execution payloads. - Adds a test for these conditions. ## Additional Info NA
This commit is contained in:
@@ -44,6 +44,10 @@ pub enum Error {
|
||||
IrrelevantDescendant {
|
||||
block_root: Hash256,
|
||||
},
|
||||
ParentExecutionStatusIsInvalid {
|
||||
block_root: Hash256,
|
||||
parent_root: Hash256,
|
||||
},
|
||||
}
|
||||
|
||||
#[derive(Clone, PartialEq, Debug)]
|
||||
|
||||
Reference in New Issue
Block a user