code: func GenesisDocFromJSON(jsonBlob []byte) (*GenesisDoc, error) {
  	genDoc := new(GenesisDoc)
  	err := json.Unmarshal(jsonBlob, genDoc)
  	if err != nil {
  		return nil, fmt.Errorf("couldn't read GenesisDoc: %v", err)
  	}
  	if len(genDoc.AppHash) != 0 {
  		genDoc.hash = genDoc.AppHash
  	}
  
  	return genDoc, nil
  
  }
docs: //------------------------------------------------------------
  // Make genesis state from file