Add CI fixes to holesky-rescue (#7071)

* Add CI fixes.

* Remove log and update cli docs.

* Build caches after loading state from disk.

* Revert payload invalidation API - wasn't working because of the justification being permanently updated.
This commit is contained in:
Jimmy Chen
2025-03-04 15:17:51 +11:00
committed by GitHub
parent 9436f23843
commit feedf5d662
7 changed files with 36 additions and 38 deletions

View File

@@ -1785,8 +1785,11 @@ pub fn check_block_is_finalized_checkpoint_or_descendant<
// If we have a split block newer than finalization then we also ban blocks which are not
// descended from that split block.
let split = chain.store.get_split_info();
let is_descendant_from_split_block =
split.slot == 0 || fork_choice.is_descendant(split.block_root, block.parent_root());
if fork_choice.is_finalized_checkpoint_or_descendant(block.parent_root())
&& fork_choice.is_descendant(split.block_root, block.parent_root())
&& is_descendant_from_split_block
{
Ok(block)
} else {