@Override
  public ProcessableBlockHeader simulatePendingBlockHeader() {
    return transactionSimulator.simulatePendingBlockHeader();
  }
Configure the service

@param blockchain the blockchain
@param transactionSimulator transaction simulator
app/src/main/java/org/hyperledger/besu/services/TransactionSimulationServiceImpl.java