@agoric/cosmos 0.34.2-dev-9f4b1ce.0 → 0.34.2-dev-921f991.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
- 9f4b1ce
1
+ 921f991
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/cosmos",
3
- "version": "0.34.2-dev-9f4b1ce.0+9f4b1ce",
3
+ "version": "0.34.2-dev-921f991.0+921f991",
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": "9f4b1ce485a0581faf8f2d693b7108f36c48fe60"
41
+ "gitHead": "921f991c89a55e26d11bb139b4b3187277567292"
42
42
  }
package/types/codec.go CHANGED
@@ -10,10 +10,11 @@ var (
10
10
  // data structures that wouldn't otherwise survive round-tripping via a
11
11
  // regular "encoding/json" Marshal->JSON.parse.
12
12
  //
13
- // The naïve json.Marshal output for an int64 (64-bit precision) is a JS
14
- // number (only 53-bit precision), which is subject to rounding errors on the
15
- // JS side. The codec.ProtoCodec uses a custom JSON marshaller that converts
16
- // int64s to and from strings with no loss of precision.
13
+ // The naïve json.Marshal output for an int64 (64-bit precision) is a JSON
14
+ // number, which is subject to rounding errors when parsed by JavaScript
15
+ // (whose numbers are IEEE 754 binary64 values with only 53-bit precision).
16
+ // The codec.ProtoCodec uses a custom JSON marshaller that converts each int64
17
+ // to and from a string with no loss of precision.
17
18
  //
18
19
  // The current package's IBCPacket was one such affected data structure, which
19
20
  // now implements Marshaler and Unmarshaler interfaces for "encoding/json" to