@agoric/internal 0.3.1-dev-bf164a0.0 → 0.3.1-dev-4a0bf28.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/internal",
3
- "version": "0.3.1-dev-bf164a0.0+bf164a0",
3
+ "version": "0.3.1-dev-4a0bf28.0+4a0bf28",
4
4
  "description": "Externally unsupported utilities internal to agoric-sdk",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -20,7 +20,7 @@
20
20
  "lint:types": "tsc -p jsconfig.json"
21
21
  },
22
22
  "dependencies": {
23
- "@agoric/zone": "0.2.1-dev-bf164a0.0+bf164a0",
23
+ "@agoric/zone": "0.2.1-dev-4a0bf28.0+4a0bf28",
24
24
  "@endo/far": "^0.2.18",
25
25
  "@endo/marshal": "^0.8.5",
26
26
  "@endo/patterns": "^0.2.2",
@@ -42,5 +42,5 @@
42
42
  "publishConfig": {
43
43
  "access": "public"
44
44
  },
45
- "gitHead": "bf164a05f425460ad357841b537b8dbc044357a2"
45
+ "gitHead": "4a0bf28cfbdaa4475b44332182f28ae948684f98"
46
46
  }
@@ -1 +1 @@
1
- {"version":3,"file":"storage-test-utils.d.ts","sourceRoot":"","sources":["storage-test-utils.js"],"names":[],"mappings":"AA+BO,yCAHI,MAAM,UACN,MAAM,wDAGC;AAElB;;;GAGG;AACH;;;;;EAEG;AAsBW,+CAAU,GAAG,GAAK,GAAG,CAAA;AAgC5B,6CAHI,MAAM,gBACN;;eAAwC,CAAC,CAAC;;;;;;;;;;;;;;;;;;yBAyBvC,OAAO,4BAA4B,EAAE,cAAc;;;;EAkFhE;AAIM;IAIH;;;;;;;;;OASG;oBAHQ,MAAM,eACN,OAAO,uBAAuB,EAAE,UAAU,KACxC,OAAO;;;;;;;;;IARpB;;;;;;;;;OASG;oBAHQ,MAAM,eACN,OAAO,uBAAuB,EAAE,UAAU,KACxC,OAAO;;;;;;;;GAWvB;;;;;;;;;;;;;;;;;;eAjNiF,CAAC,KAAK,CAAC;;;6BAwL3E,WAAY,yBAAyB,CAAC;mCA0BtC,WAAW,+BAA+B,CAAC"}
1
+ {"version":3,"file":"storage-test-utils.d.ts","sourceRoot":"","sources":["storage-test-utils.js"],"names":[],"mappings":"AAkCO,yCAHI,MAAM,UACN,MAAM,wDAGC;AAElB;;;GAGG;AACH;;;;;EAEG;AAsBW,+CAAU,GAAG,GAAK,GAAG,CAAA;AAgC5B,6CAHI,MAAM,gBACN;;eAAwC,CAAC,CAAC;;;;;;;;;;;;;;;;;;yBAyBvC,OAAO,4BAA4B,EAAE,cAAc;;;;EAoFhE;AAIM;IAIH;;;;;;;;;OASG;oBAHQ,MAAM,eACN,OAAO,uBAAuB,EAAE,UAAU,KACxC,OAAO;;;;;;;;;IARpB;;;;;;;;;OASG;oBAHQ,MAAM,eACN,OAAO,uBAAuB,EAAE,UAAU,KACxC,OAAO;;;;;;;;GAWvB;;;;;;;;;;;;;;;;;;eAnNiF,CAAC,KAAK,CAAC;;;6BA0L3E,WAAY,yBAAyB,CAAC;mCA0BtC,WAAW,+BAA+B,CAAC"}
@@ -1,6 +1,7 @@
1
1
  // @ts-check
2
2
  import { Far } from '@endo/far';
3
3
  import { makeMarshal, Remotable } from '@endo/marshal';
4
+ import { makeTracer } from './debug.js';
4
5
  import {
5
6
  isStreamCell,
6
7
  makeChainStorageRoot,
@@ -10,6 +11,8 @@ import { bindAllMethods } from './method-tools.js';
10
11
 
11
12
  const { Fail } = assert;
12
13
 
14
+ const trace = makeTracer('StorTU', false);
15
+
13
16
  /**
14
17
  * A map corresponding with a total function such that `get(key)`
15
18
  * is assumed to always succeed.
@@ -142,6 +145,7 @@ export const makeFakeStorageKit = (rootPath, rootOptions) => {
142
145
  }
143
146
  case 'set':
144
147
  case 'setWithoutNotify': {
148
+ trace('toStorage set', message);
145
149
  /** @type {import('../src/lib-chainStorage.js').StorageEntry[]} */
146
150
  const newEntries = message.args;
147
151
  for (const [key, value] of newEntries) {
@@ -154,6 +158,7 @@ export const makeFakeStorageKit = (rootPath, rootOptions) => {
154
158
  break;
155
159
  }
156
160
  case 'append': {
161
+ trace('toStorage append', message);
157
162
  /** @type {import('../src/lib-chainStorage.js').StorageEntry[]} */
158
163
  const newEntries = message.args;
159
164
  for (const [key, value] of newEntries) {