@agoric/cosmos 0.34.2-dev-65d19fe.0 → 0.34.2-dev-16f149c.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/git-revision.txt CHANGED
@@ -1 +1 @@
1
- 65d19fe
1
+ 16f149c
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/cosmos",
3
- "version": "0.34.2-dev-65d19fe.0+65d19fe",
3
+ "version": "0.34.2-dev-16f149c.0+16f149c",
4
4
  "description": "Connect JS to the Cosmos blockchain SDK",
5
5
  "parsers": {
6
6
  "js": "mjs"
@@ -38,5 +38,5 @@
38
38
  "typeCoverage": {
39
39
  "atLeast": 0
40
40
  },
41
- "gitHead": "65d19fe3db9d7365a1bb80cbe3554735aa5704db"
41
+ "gitHead": "16f149cd82c4972a420bccd4feae735b49190175"
42
42
  }
@@ -45,7 +45,7 @@ func (h portHandler) Receive(cctx context.Context, str string) (ret string, err
45
45
  }
46
46
  ret = string(bz)
47
47
 
48
- case "VLOCALCHAIN_QUERY":
48
+ case "VLOCALCHAIN_QUERY_MANY":
49
49
  // Copy the JSON messages string into a CosmosTx object so we can
50
50
  // deserialize it with just proto3 JSON.
51
51
  cosmosTxBz := []byte(`{"messages":` + string(msg.Messages) + `}`)
@@ -180,7 +180,7 @@ func TestQuery(t *testing.T) {
180
180
  tc := tc
181
181
  ctx := sdk.UnwrapSDKContext(cctx)
182
182
  t.Run(tc.name, func(t *testing.T) {
183
- msgGetBalances := `{"type":"VLOCALCHAIN_QUERY","messages":[{"@type":"/cosmos.bank.v1beta1.QueryAllBalancesRequest","address":"` + tc.addr + `"}]}`
183
+ msgGetBalances := `{"type":"VLOCALCHAIN_QUERY_MANY","messages":[{"@type":"/cosmos.bank.v1beta1.QueryAllBalancesRequest","address":"` + tc.addr + `"}]}`
184
184
  t.Logf("query request: %v", msgGetBalances)
185
185
  ret, err := handler.Receive(cctx, msgGetBalances)
186
186
  t.Logf("query response: %v", ret)