Add gossip verified il test coverage

This commit is contained in:
Eitan Seri-Levi
2025-02-10 00:36:54 +02:00
parent 51984ab54d
commit 30136ad571
3 changed files with 9 additions and 7 deletions

View File

@@ -1728,10 +1728,8 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
})?;
let dependent_root = shuffling_id.shuffling_decision_block;
let head_beacon_state = self.get_state(&head_block.root, Some(head_block.slot))?;
let head_beacon_state = self.get_state(&head_block.state_root, Some(head_block.slot))?;
let Some(head_beacon_state) = head_beacon_state else {
// TODO(focil) missing beacon state
println!("WEVE FAILED HERE");
return Err(Error::MissingBeaconState(head_block.root));
};
let duties = validator_indices