Add an additional defensive expected proposer check

This commit is contained in:
Eitan Seri- Levi
2026-02-24 11:20:07 -08:00
parent 147f2e22e0
commit fc7d6c9d24
2 changed files with 18 additions and 2 deletions

View File

@@ -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 {