nameservice: return names with records query

This commit is contained in:
2022-04-18 14:44:32 +05:30
parent d762ce98b3
commit f7623b26f9
12 changed files with 326 additions and 194 deletions
@@ -81,6 +81,9 @@ message Record {
string attributes = 7 [
(gogoproto.moretags) = "json:\"attributes\" yaml:\"attributes\""
];
repeated string names = 8 [
(gogoproto.moretags) = "json:\"names\" yaml:\"names\""
];
}
// AuthorityEntry defines the nameservice module AuthorityEntries
@@ -78,8 +78,10 @@ message QueryListRecordsRequest{
}
repeated KeyValueInput attributes = 1;
bool all = 2;
// pagination defines an optional pagination for the request.
cosmos.base.query.v1beta1.PageRequest pagination = 2;
cosmos.base.query.v1beta1.PageRequest pagination = 3;
}
// QueryListRecordsResponse is response type for nameservice records list