@Override
  public BlockValidator getBlockValidatorForBlock(final Block block) {
    return transitionProtocolSchedule
        .getByBlockHeaderWithTransitionReorgHandling(block.getHeader())
        .getBlockValidator();
  }
Choose the correct protocolSchedule and blockvalidator by block rather than number. This should
be used in the merge transition, specifically when the chain has not yet finalized.
consensus/merge/src/main/java/org/hyperledger/besu/consensus/merge/TransitionBackwardSyncContext.java