Proto Auditing: Replace ID with Id (#7032)

* Proto Auditing: Replace ID with Id

* make proto-gen

* Update docs

Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
This commit is contained in:
Amaury Martiny
2020-08-14 08:55:54 +00:00
committed by GitHub
co-authored by Federico Kunze
parent 3735b182bc
commit 5559af8b97
103 changed files with 1925 additions and 1964 deletions
+2 -2
View File
@@ -219,7 +219,7 @@ func (rs *Store) getCommitID(infos map[string]types.StoreInfo, name string) type
return types.CommitID{}
}
return info.CommitID
return info.CommitId
}
func deleteKVStore(kv types.KVStore) error {
@@ -607,7 +607,7 @@ func commitStores(version int64, storeMap map[types.StoreKey]types.CommitKVStore
si := types.StoreInfo{}
si.Name = key.Name()
si.CommitID = commitID
si.CommitId = commitID
storeInfos = append(storeInfos, si)
}
+1 -1
View File
@@ -588,7 +588,7 @@ func hashStores(stores map[types.StoreKey]types.CommitKVStore) []byte {
name := key.Name()
m[name] = types.StoreInfo{
Name: name,
CommitID: store.LastCommitID(),
CommitId: store.LastCommitID(),
}.GetHash()
}
return sdkmaps.SimpleHashFromMap(m)