Skip to content

Commit

Permalink
Merge pull request #8119 from Agoric/gibson-8056-followup
Browse files Browse the repository at this point in the history
chore(cosmos): Update doc comments for accuracy
  • Loading branch information
gibson042 authored and mhofman committed Aug 7, 2023
2 parents dbae0f3 + ceec7b6 commit e2c5b5a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions golang/cosmos/proto/agoric/vstorage/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ message QueryCapDataRequest {
];
// remotableValueFormat indicates how to transform references to opaque but
// distinguishable Remotables into readable embedded representations.
// * "object" represents each Remotable as an `{ id, allegedName }` object.
// * "string" represents each Remotable as a bracketed string such as `[Alleged: IST brand {}]`.
// * "object" represents each Remotable as an `{ id, allegedName }` object, e.g. `{ "id": "board007", "allegedName": "IST brand" }`.
// * "string" represents each Remotable as a string with bracket-wrapped contents including its alleged name and id, e.g. "[Alleged: IST brand <board007>]".
string remotable_value_format = 10 [
(gogoproto.jsontag) = "remotableValueFormat",
(gogoproto.moretags) = "yaml:\"remotableValueFormat\""
Expand Down
6 changes: 4 additions & 2 deletions golang/cosmos/x/vstorage/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ This is used by the SwingSet "bridge".

## External protobuf interface

gRPC via [Querier](./keeper/keeper.go)
and CometBFT method "abci_query" with params `{ "path": "/agoric.vstorage.Query/...", "data": "<hexadecimal representation of serialized protobuf>" }` via the same
RPC via [Querier](./keeper/grpc_query.go)
and [CometBFT method "abci_query"](https://docs.cometbft.com/v0.37/rpc/#/ABCI/abci_query)
with params `{ "path": "/agoric.vstorage.Query/...", "data": "<hexadecimal representation of serialized protobuf>" }`
via the same
* /agoric.vstorage.Query/CapData
* /agoric.vstorage.Query/Children
* /agoric.vstorage.Query/Data
Expand Down
4 changes: 2 additions & 2 deletions golang/cosmos/x/vstorage/types/query.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e2c5b5a

Please sign in to comment.