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:
co-authored by
Federico Kunze
parent
3735b182bc
commit
5559af8b97
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user