public void set(final S newState) {
      this.state = newState;
    }
Replace the current state with the new one

@param newState the new state
plugin-api/src/main/java/org/hyperledger/besu/plugin/services/txselection/SelectorsStateManager.java