code: func GetActionFromEnvelope(envBytes []byte) (*peer.ChaincodeAction, error) {
  	env, err := GetEnvelopeFromBlock(envBytes)
  	if err != nil {
  		return nil, err
  	}
  	return GetActionFromEnvelopeMsg(env)
  }
docs: // GetActionFromEnvelope extracts a ChaincodeAction message from a
  // serialized Envelope
  // TODO: fix function name as per FAB-11831