@Override
  public Collection<Address> getValidatorsForLatestBlock() {
    return new ArrayList<>(blockInterface.validatorsInBlock(blockchain.getChainHeadHeader()));
  }
Instantiates a new Poa query service.

@param blockInterface the block interface
@param blockchain the blockchain
@param nodeKey the node key
consensus/common/src/main/java/org/hyperledger/besu/consensus/common/PoaQueryServiceImpl.java