@Override
  public BlockTraceResult traceBlock(
      final long blockNumber, final BlockAwareOperationTracer tracer) {
    return traceBlock(blockchainQueries.getBlockchain().getBlockByNumber(blockNumber), tracer);
  }
Traces block

@param blockNumber the block number to be traced
@param tracer an instance of OperationTracer
app/src/main/java/org/hyperledger/besu/services/TraceServiceImpl.java