mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-23 23:04:53 +00:00
Add an additional defensive expected proposer check
This commit is contained in:
@@ -206,6 +206,11 @@ pub enum EnvelopeError {
|
||||
committed_bid: ExecutionBlockHash,
|
||||
envelope: ExecutionBlockHash,
|
||||
},
|
||||
// The block's proposer_index does not match the locally computed proposer
|
||||
IncorrectBlockProposer {
|
||||
block: u64,
|
||||
local_shuffling: u64,
|
||||
},
|
||||
// The slot belongs to a block that is from a slot prior than
|
||||
// the most recently finalized slot
|
||||
PriorToFinalization {
|
||||
|
||||
Reference in New Issue
Block a user