code: func (cs *ChannelState) FetchState() (endorsement.State, error) {
  	qe, err := cs.NewQueryExecutor()
  	if err != nil {
  		return nil, err
  	}
  
  	return &StateContext{
  		QueryExecutor: qe,
  		Store:         cs.Store,
  	}, nil
  }
docs: // FetchState fetches state