@SuppressWarnings("unchecked")
  public <T> T getSelectorWorkingState(final TransactionSelector selector) {
    return (T) uncommitedStates.getLast().get(selector).get();
  }
Get the working state for the specified selector

@param selector the selector
@return the working state of the selector
@param <T> the type of the selector state
plugin-api/src/main/java/org/hyperledger/besu/plugin/services/txselection/SelectorsStateManager.java