@agoric/zoe 0.26.3-upgrade-14-dev-c2ea6db.0 → 0.26.3-upgrade-14-dev-408fffa.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "bundleFileName": "bundle-contractFacet.js",
3
- "bundleTime": "2024-02-08T01:07:18.468Z",
3
+ "bundleTime": "2024-02-08T02:50:09.781Z",
4
4
  "moduleSource": {
5
5
  "relative": "../../src/contractFacet/vatRoot.js",
6
6
  "absolute": "/home/runner/work/agoric-sdk/agoric-sdk/packages/zoe/src/contractFacet/vatRoot.js"
@@ -8,15 +8,15 @@
8
8
  "contents": [
9
9
  {
10
10
  "relativePath": "",
11
- "mtime": "2024-02-08T01:05:12.034Z"
11
+ "mtime": "2024-02-08T02:48:14.629Z"
12
12
  },
13
13
  {
14
14
  "relativePath": "../../internal-types.js",
15
- "mtime": "2024-02-08T01:05:12.038Z"
15
+ "mtime": "2024-02-08T02:48:14.633Z"
16
16
  },
17
17
  {
18
18
  "relativePath": "../zcfZygote.js",
19
- "mtime": "2024-02-08T01:05:12.034Z"
19
+ "mtime": "2024-02-08T02:48:14.629Z"
20
20
  },
21
21
  {
22
22
  "relativePath": "../../../../../node_modules/@endo/far/src/index.js",
@@ -28,71 +28,71 @@
28
28
  },
29
29
  {
30
30
  "relativePath": "../../cleanProposal.js",
31
- "mtime": "2024-02-08T01:05:12.034Z"
31
+ "mtime": "2024-02-08T02:48:14.629Z"
32
32
  },
33
33
  {
34
34
  "relativePath": "../../handleWarning.js",
35
- "mtime": "2024-02-08T01:05:12.038Z"
35
+ "mtime": "2024-02-08T02:48:14.633Z"
36
36
  },
37
37
  {
38
38
  "relativePath": "../../instanceRecordStorage.js",
39
- "mtime": "2024-02-08T01:05:12.038Z"
39
+ "mtime": "2024-02-08T02:48:14.633Z"
40
40
  },
41
41
  {
42
42
  "relativePath": "../../issuerStorage.js",
43
- "mtime": "2024-02-08T01:05:12.038Z"
43
+ "mtime": "2024-02-08T02:48:14.633Z"
44
44
  },
45
45
  {
46
46
  "relativePath": "../../makeHandle.js",
47
- "mtime": "2024-02-08T01:05:12.038Z"
47
+ "mtime": "2024-02-08T02:48:14.633Z"
48
48
  },
49
49
  {
50
50
  "relativePath": "../../typeGuards.js",
51
- "mtime": "2024-02-08T01:05:12.038Z"
51
+ "mtime": "2024-02-08T02:48:14.633Z"
52
52
  },
53
53
  {
54
54
  "relativePath": "../evalContractCode.js",
55
- "mtime": "2024-02-08T01:05:12.034Z"
55
+ "mtime": "2024-02-08T02:48:14.629Z"
56
56
  },
57
57
  {
58
58
  "relativePath": "../exit.js",
59
- "mtime": "2024-02-08T01:05:12.034Z"
59
+ "mtime": "2024-02-08T02:48:14.629Z"
60
60
  },
61
61
  {
62
62
  "relativePath": "../internal-types.js",
63
- "mtime": "2024-02-08T01:05:12.034Z"
63
+ "mtime": "2024-02-08T02:48:14.629Z"
64
64
  },
65
65
  {
66
66
  "relativePath": "../offerHandlerStorage.js",
67
- "mtime": "2024-02-08T01:05:12.034Z"
67
+ "mtime": "2024-02-08T02:48:14.629Z"
68
68
  },
69
69
  {
70
70
  "relativePath": "../zcfMint.js",
71
- "mtime": "2024-02-08T01:05:12.034Z"
71
+ "mtime": "2024-02-08T02:48:14.629Z"
72
72
  },
73
73
  {
74
74
  "relativePath": "../zcfSeat.js",
75
- "mtime": "2024-02-08T01:05:12.034Z"
75
+ "mtime": "2024-02-08T02:48:14.629Z"
76
76
  },
77
77
  {
78
78
  "relativePath": "../../../../ERTP/src/index.js",
79
- "mtime": "2024-02-08T01:05:11.906Z"
79
+ "mtime": "2024-02-08T02:48:14.505Z"
80
80
  },
81
81
  {
82
82
  "relativePath": "../../../../internal/src/index.js",
83
- "mtime": "2024-02-08T01:05:11.982Z"
83
+ "mtime": "2024-02-08T02:48:14.577Z"
84
84
  },
85
85
  {
86
86
  "relativePath": "../../../../store/src/index.js",
87
- "mtime": "2024-02-08T01:05:11.994Z"
87
+ "mtime": "2024-02-08T02:48:14.589Z"
88
88
  },
89
89
  {
90
90
  "relativePath": "../../../../SwingSet/src/types-ambient.js",
91
- "mtime": "2024-02-08T01:05:11.926Z"
91
+ "mtime": "2024-02-08T02:48:14.525Z"
92
92
  },
93
93
  {
94
94
  "relativePath": "../../../../vat-data/src/index.js",
95
- "mtime": "2024-02-08T01:05:12.014Z"
95
+ "mtime": "2024-02-08T02:48:14.609Z"
96
96
  },
97
97
  {
98
98
  "relativePath": "../../../../../node_modules/@endo/eventual-send/src/no-shim.js",
@@ -140,23 +140,23 @@
140
140
  },
141
141
  {
142
142
  "relativePath": "../../objArrayConversion.js",
143
- "mtime": "2024-02-08T01:05:12.038Z"
143
+ "mtime": "2024-02-08T02:48:14.633Z"
144
144
  },
145
145
  {
146
146
  "relativePath": "../../../../assert/src/assert.js",
147
- "mtime": "2024-02-08T01:05:11.950Z"
147
+ "mtime": "2024-02-08T02:48:14.545Z"
148
148
  },
149
149
  {
150
150
  "relativePath": "../../issuerRecord.js",
151
- "mtime": "2024-02-08T01:05:12.038Z"
151
+ "mtime": "2024-02-08T02:48:14.633Z"
152
152
  },
153
153
  {
154
154
  "relativePath": "../../../../notifier/src/index.js",
155
- "mtime": "2024-02-08T01:05:11.982Z"
155
+ "mtime": "2024-02-08T02:48:14.577Z"
156
156
  },
157
157
  {
158
158
  "relativePath": "../../../../time/index.js",
159
- "mtime": "2024-02-08T01:05:12.014Z"
159
+ "mtime": "2024-02-08T02:48:14.609Z"
160
160
  },
161
161
  {
162
162
  "relativePath": "../../../../../node_modules/@endo/import-bundle/src/index.js",
@@ -164,79 +164,79 @@
164
164
  },
165
165
  {
166
166
  "relativePath": "../allocationMath.js",
167
- "mtime": "2024-02-08T01:05:12.034Z"
167
+ "mtime": "2024-02-08T02:48:14.629Z"
168
168
  },
169
169
  {
170
170
  "relativePath": "../types.js",
171
- "mtime": "2024-02-08T01:05:12.034Z"
171
+ "mtime": "2024-02-08T02:48:14.629Z"
172
172
  },
173
173
  {
174
174
  "relativePath": "../offerSafety.js",
175
- "mtime": "2024-02-08T01:05:12.034Z"
175
+ "mtime": "2024-02-08T02:48:14.629Z"
176
176
  },
177
177
  {
178
178
  "relativePath": "../rightsConservation.js",
179
- "mtime": "2024-02-08T01:05:12.034Z"
179
+ "mtime": "2024-02-08T02:48:14.629Z"
180
180
  },
181
181
  {
182
182
  "relativePath": "../../../../ERTP/src/amountMath.js",
183
- "mtime": "2024-02-08T01:05:11.906Z"
183
+ "mtime": "2024-02-08T02:48:14.505Z"
184
184
  },
185
185
  {
186
186
  "relativePath": "../../../../ERTP/src/issuerKit.js",
187
- "mtime": "2024-02-08T01:05:11.906Z"
187
+ "mtime": "2024-02-08T02:48:14.505Z"
188
188
  },
189
189
  {
190
190
  "relativePath": "../../../../ERTP/src/typeGuards.js",
191
- "mtime": "2024-02-08T01:05:11.906Z"
191
+ "mtime": "2024-02-08T02:48:14.505Z"
192
192
  },
193
193
  {
194
194
  "relativePath": "../../../../internal/src/config.js",
195
- "mtime": "2024-02-08T01:05:11.982Z"
195
+ "mtime": "2024-02-08T02:48:14.577Z"
196
196
  },
197
197
  {
198
198
  "relativePath": "../../../../internal/src/debug.js",
199
- "mtime": "2024-02-08T01:05:11.982Z"
199
+ "mtime": "2024-02-08T02:48:14.577Z"
200
200
  },
201
201
  {
202
202
  "relativePath": "../../../../internal/src/method-tools.js",
203
- "mtime": "2024-02-08T01:05:11.982Z"
203
+ "mtime": "2024-02-08T02:48:14.577Z"
204
204
  },
205
205
  {
206
206
  "relativePath": "../../../../internal/src/typeGuards.js",
207
- "mtime": "2024-02-08T01:05:11.982Z"
207
+ "mtime": "2024-02-08T02:48:14.577Z"
208
208
  },
209
209
  {
210
210
  "relativePath": "../../../../internal/src/utils.js",
211
- "mtime": "2024-02-08T01:05:11.982Z"
211
+ "mtime": "2024-02-08T02:48:14.577Z"
212
212
  },
213
213
  {
214
214
  "relativePath": "../../../../store/src/legacy/legacyMap.js",
215
- "mtime": "2024-02-08T01:05:11.994Z"
215
+ "mtime": "2024-02-08T02:48:14.589Z"
216
216
  },
217
217
  {
218
218
  "relativePath": "../../../../store/src/legacy/legacyWeakMap.js",
219
- "mtime": "2024-02-08T01:05:11.994Z"
219
+ "mtime": "2024-02-08T02:48:14.589Z"
220
220
  },
221
221
  {
222
222
  "relativePath": "../../../../store/src/stores/scalarMapStore.js",
223
- "mtime": "2024-02-08T01:05:11.994Z"
223
+ "mtime": "2024-02-08T02:48:14.589Z"
224
224
  },
225
225
  {
226
226
  "relativePath": "../../../../store/src/stores/scalarSetStore.js",
227
- "mtime": "2024-02-08T01:05:11.994Z"
227
+ "mtime": "2024-02-08T02:48:14.589Z"
228
228
  },
229
229
  {
230
230
  "relativePath": "../../../../store/src/stores/scalarWeakMapStore.js",
231
- "mtime": "2024-02-08T01:05:11.994Z"
231
+ "mtime": "2024-02-08T02:48:14.589Z"
232
232
  },
233
233
  {
234
234
  "relativePath": "../../../../store/src/stores/scalarWeakSetStore.js",
235
- "mtime": "2024-02-08T01:05:11.994Z"
235
+ "mtime": "2024-02-08T02:48:14.589Z"
236
236
  },
237
237
  {
238
238
  "relativePath": "../../../../store/src/stores/store-utils.js",
239
- "mtime": "2024-02-08T01:05:11.994Z"
239
+ "mtime": "2024-02-08T02:48:14.589Z"
240
240
  },
241
241
  {
242
242
  "relativePath": "../../../../../node_modules/@endo/exo/index.js",
@@ -248,11 +248,11 @@
248
248
  },
249
249
  {
250
250
  "relativePath": "../../../../vat-data/src/exo-utils.js",
251
- "mtime": "2024-02-08T01:05:12.014Z"
251
+ "mtime": "2024-02-08T02:48:14.609Z"
252
252
  },
253
253
  {
254
254
  "relativePath": "../../../../vat-data/src/vat-data-bindings.js",
255
- "mtime": "2024-02-08T01:05:12.014Z"
255
+ "mtime": "2024-02-08T02:48:14.609Z"
256
256
  },
257
257
  {
258
258
  "relativePath": "../../../../../node_modules/@endo/eventual-send/src/E.js",
@@ -324,43 +324,43 @@
324
324
  },
325
325
  {
326
326
  "relativePath": "../../../../assert/src/types.js",
327
- "mtime": "2024-02-08T01:05:11.950Z"
327
+ "mtime": "2024-02-08T02:48:14.545Z"
328
328
  },
329
329
  {
330
330
  "relativePath": "../../../../notifier/src/asyncIterableAdaptor.js",
331
- "mtime": "2024-02-08T01:05:11.982Z"
331
+ "mtime": "2024-02-08T02:48:14.577Z"
332
332
  },
333
333
  {
334
334
  "relativePath": "../../../../notifier/src/notifier.js",
335
- "mtime": "2024-02-08T01:05:11.982Z"
335
+ "mtime": "2024-02-08T02:48:14.577Z"
336
336
  },
337
337
  {
338
338
  "relativePath": "../../../../notifier/src/publish-kit.js",
339
- "mtime": "2024-02-08T01:05:11.982Z"
339
+ "mtime": "2024-02-08T02:48:14.577Z"
340
340
  },
341
341
  {
342
342
  "relativePath": "../../../../notifier/src/stored-notifier.js",
343
- "mtime": "2024-02-08T01:05:11.982Z"
343
+ "mtime": "2024-02-08T02:48:14.581Z"
344
344
  },
345
345
  {
346
346
  "relativePath": "../../../../notifier/src/storesub.js",
347
- "mtime": "2024-02-08T01:05:11.982Z"
347
+ "mtime": "2024-02-08T02:48:14.581Z"
348
348
  },
349
349
  {
350
350
  "relativePath": "../../../../notifier/src/subscribe.js",
351
- "mtime": "2024-02-08T01:05:11.982Z"
351
+ "mtime": "2024-02-08T02:48:14.581Z"
352
352
  },
353
353
  {
354
354
  "relativePath": "../../../../notifier/src/subscriber.js",
355
- "mtime": "2024-02-08T01:05:11.982Z"
355
+ "mtime": "2024-02-08T02:48:14.581Z"
356
356
  },
357
357
  {
358
358
  "relativePath": "../../../../time/src/timeMath.js",
359
- "mtime": "2024-02-08T01:05:12.014Z"
359
+ "mtime": "2024-02-08T02:48:14.609Z"
360
360
  },
361
361
  {
362
362
  "relativePath": "../../../../time/src/typeGuards.js",
363
- "mtime": "2024-02-08T01:05:12.014Z"
363
+ "mtime": "2024-02-08T02:48:14.609Z"
364
364
  },
365
365
  {
366
366
  "relativePath": "../../../../../node_modules/@endo/import-bundle/src/compartment-wrapper.js",
@@ -376,31 +376,31 @@
376
376
  },
377
377
  {
378
378
  "relativePath": "../../../../ERTP/src/mathHelpers/copyBagMathHelpers.js",
379
- "mtime": "2024-02-08T01:05:11.906Z"
379
+ "mtime": "2024-02-08T02:48:14.505Z"
380
380
  },
381
381
  {
382
382
  "relativePath": "../../../../ERTP/src/mathHelpers/copySetMathHelpers.js",
383
- "mtime": "2024-02-08T01:05:11.906Z"
383
+ "mtime": "2024-02-08T02:48:14.505Z"
384
384
  },
385
385
  {
386
386
  "relativePath": "../../../../ERTP/src/mathHelpers/natMathHelpers.js",
387
- "mtime": "2024-02-08T01:05:11.906Z"
387
+ "mtime": "2024-02-08T02:48:14.505Z"
388
388
  },
389
389
  {
390
390
  "relativePath": "../../../../ERTP/src/mathHelpers/setMathHelpers.js",
391
- "mtime": "2024-02-08T01:05:11.906Z"
391
+ "mtime": "2024-02-08T02:48:14.505Z"
392
392
  },
393
393
  {
394
394
  "relativePath": "../../../../ERTP/src/displayInfo.js",
395
- "mtime": "2024-02-08T01:05:11.906Z"
395
+ "mtime": "2024-02-08T02:48:14.505Z"
396
396
  },
397
397
  {
398
398
  "relativePath": "../../../../ERTP/src/paymentLedger.js",
399
- "mtime": "2024-02-08T01:05:11.906Z"
399
+ "mtime": "2024-02-08T02:48:14.505Z"
400
400
  },
401
401
  {
402
402
  "relativePath": "../../../../ERTP/src/types-ambient.js",
403
- "mtime": "2024-02-08T01:05:11.906Z"
403
+ "mtime": "2024-02-08T02:48:14.505Z"
404
404
  },
405
405
  {
406
406
  "relativePath": "../../../../../node_modules/@endo/stream/index.js",
@@ -412,7 +412,7 @@
412
412
  },
413
413
  {
414
414
  "relativePath": "../../../../store/src/types.js",
415
- "mtime": "2024-02-08T01:05:11.994Z"
415
+ "mtime": "2024-02-08T02:48:14.589Z"
416
416
  },
417
417
  {
418
418
  "relativePath": "../../../../../node_modules/@endo/exo/src/exo-makers.js",
@@ -476,19 +476,19 @@
476
476
  },
477
477
  {
478
478
  "relativePath": "../../../../notifier/src/types-ambient.js",
479
- "mtime": "2024-02-08T01:05:11.982Z"
479
+ "mtime": "2024-02-08T02:48:14.581Z"
480
480
  },
481
481
  {
482
482
  "relativePath": "../../../../internal/src/lib-chainStorage.js",
483
- "mtime": "2024-02-08T01:05:11.982Z"
483
+ "mtime": "2024-02-08T02:48:14.577Z"
484
484
  },
485
485
  {
486
486
  "relativePath": "../../../../internal/src/upgrade-api.js",
487
- "mtime": "2024-02-08T01:05:11.982Z"
487
+ "mtime": "2024-02-08T02:48:14.577Z"
488
488
  },
489
489
  {
490
490
  "relativePath": "../../../../notifier/src/topic.js",
491
- "mtime": "2024-02-08T01:05:11.982Z"
491
+ "mtime": "2024-02-08T02:48:14.581Z"
492
492
  },
493
493
  {
494
494
  "relativePath": "../../../../../node_modules/@endo/base64/atob.js",
@@ -512,15 +512,15 @@
512
512
  },
513
513
  {
514
514
  "relativePath": "../../../../ERTP/src/payment.js",
515
- "mtime": "2024-02-08T01:05:11.906Z"
515
+ "mtime": "2024-02-08T02:48:14.505Z"
516
516
  },
517
517
  {
518
518
  "relativePath": "../../../../ERTP/src/purse.js",
519
- "mtime": "2024-02-08T01:05:11.906Z"
519
+ "mtime": "2024-02-08T02:48:14.505Z"
520
520
  },
521
521
  {
522
522
  "relativePath": "../../../../store/exported.js",
523
- "mtime": "2024-02-08T01:05:11.994Z"
523
+ "mtime": "2024-02-08T02:48:14.589Z"
524
524
  },
525
525
  {
526
526
  "relativePath": "../../../../../node_modules/jessie.js/src/ring0/main.js",
@@ -536,11 +536,11 @@
536
536
  },
537
537
  {
538
538
  "relativePath": "../../../../internal/src/callback.js",
539
- "mtime": "2024-02-08T01:05:11.982Z"
539
+ "mtime": "2024-02-08T02:48:14.577Z"
540
540
  },
541
541
  {
542
542
  "relativePath": "../../../../zone/src/index.js",
543
- "mtime": "2024-02-08T01:05:12.046Z"
543
+ "mtime": "2024-02-08T02:48:14.641Z"
544
544
  },
545
545
  {
546
546
  "relativePath": "../../../../../node_modules/@endo/base64/decode.js",
@@ -600,7 +600,7 @@
600
600
  },
601
601
  {
602
602
  "relativePath": "../../../../ERTP/src/transientNotifier.js",
603
- "mtime": "2024-02-08T01:05:11.906Z"
603
+ "mtime": "2024-02-08T02:48:14.505Z"
604
604
  },
605
605
  {
606
606
  "relativePath": "../../../../../node_modules/jessie.js/src/ring0/E.js",
@@ -620,7 +620,7 @@
620
620
  },
621
621
  {
622
622
  "relativePath": "../../../../zone/src/heap.js",
623
- "mtime": "2024-02-08T01:05:12.046Z"
623
+ "mtime": "2024-02-08T02:48:14.641Z"
624
624
  },
625
625
  {
626
626
  "relativePath": "../../../../../node_modules/@endo/compartment-mapper/src/policy-format.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/zoe",
3
- "version": "0.26.3-upgrade-14-dev-c2ea6db.0+c2ea6db",
3
+ "version": "0.26.3-upgrade-14-dev-408fffa.0+408fffa",
4
4
  "description": "Zoe: the Smart Contract Framework for Offer Enforcement",
5
5
  "type": "module",
6
6
  "main": "./src/zoeService/zoe.js",
@@ -43,14 +43,14 @@
43
43
  },
44
44
  "homepage": "https://github.com/Agoric/agoric-sdk#readme",
45
45
  "dependencies": {
46
- "@agoric/assert": "0.6.1-upgrade-14-dev-c2ea6db.0+c2ea6db",
47
- "@agoric/ertp": "0.16.3-upgrade-14-dev-c2ea6db.0+c2ea6db",
48
- "@agoric/internal": "0.4.0-upgrade-14-dev-c2ea6db.0+c2ea6db",
49
- "@agoric/notifier": "0.6.3-upgrade-14-dev-c2ea6db.0+c2ea6db",
50
- "@agoric/store": "0.9.3-upgrade-14-dev-c2ea6db.0+c2ea6db",
51
- "@agoric/swingset-vat": "0.32.3-upgrade-14-dev-c2ea6db.0+c2ea6db",
52
- "@agoric/time": "0.3.3-upgrade-14-dev-c2ea6db.0+c2ea6db",
53
- "@agoric/vat-data": "0.5.3-upgrade-14-dev-c2ea6db.0+c2ea6db",
46
+ "@agoric/assert": "0.6.1-upgrade-14-dev-408fffa.0+408fffa",
47
+ "@agoric/ertp": "0.16.3-upgrade-14-dev-408fffa.0+408fffa",
48
+ "@agoric/internal": "0.4.0-upgrade-14-dev-408fffa.0+408fffa",
49
+ "@agoric/notifier": "0.6.3-upgrade-14-dev-408fffa.0+408fffa",
50
+ "@agoric/store": "0.9.3-upgrade-14-dev-408fffa.0+408fffa",
51
+ "@agoric/swingset-vat": "0.32.3-upgrade-14-dev-408fffa.0+408fffa",
52
+ "@agoric/time": "0.3.3-upgrade-14-dev-408fffa.0+408fffa",
53
+ "@agoric/vat-data": "0.5.3-upgrade-14-dev-408fffa.0+408fffa",
54
54
  "@endo/bundle-source": "2.5.2-upstream-rollup",
55
55
  "@endo/captp": "3.1.1",
56
56
  "@endo/eventual-send": "0.17.2",
@@ -126,5 +126,5 @@
126
126
  "publishConfig": {
127
127
  "access": "public"
128
128
  },
129
- "gitHead": "c2ea6db4813f678974bacc032db3142802af6516"
129
+ "gitHead": "408fffa0fc8aef6192287fdabdebd204b9c1619d"
130
130
  }
@@ -1 +1 @@
1
- {"version":3,"file":"startInstance.d.ts","sourceRoot":"","sources":["startInstance.js"],"names":[],"mappings":"AAiCO,uDANI,KAAK,iBAAiB,EAAE,+BAA+B,GAAG,oBAAoB,CAAC,oBAC/E,MAAM,KAAK,SAAS,CAAC,4BAChB,MAAM,KAAK,SAAS,0CAEvB,OAAO,SAAS,EAAE,aAAa,CAqW3C;sBA/Wa,OAAO,kBAAkB,EAAE,OAAO;wBACjC,OAAO,sBAAsB,EAAE,SAAS"}
1
+ {"version":3,"file":"startInstance.d.ts","sourceRoot":"","sources":["startInstance.js"],"names":[],"mappings":"AAiCO,uDANI,KAAK,iBAAiB,EAAE,+BAA+B,GAAG,oBAAoB,CAAC,oBAC/E,MAAM,KAAK,SAAS,CAAC,4BAChB,MAAM,KAAK,SAAS,0CAEvB,OAAO,SAAS,EAAE,aAAa,CAmW3C;sBA7Wa,OAAO,kBAAkB,EAAE,OAAO;wBACjC,OAAO,sBAAsB,EAAE,SAAS"}
@@ -50,6 +50,12 @@ export const makeStartInstance = (
50
50
  seatHandleToZoeSeatAdmin,
51
51
  );
52
52
 
53
+ const getFreshZcfBundleCap = async () => {
54
+ const settledBundleCap = await getZcfBundleCapP();
55
+ settledBundleCap !== undefined || Fail`the ZCF bundle cap was broken`;
56
+ return settledBundleCap;
57
+ };
58
+
53
59
  const InstanceAdminStateShape = harden({
54
60
  instanceStorage: M.remotable('ZoeInstanceStorageManager'),
55
61
  instanceAdmin: M.remotable('InstanceAdmin'),
@@ -225,12 +231,10 @@ export const makeStartInstance = (
225
231
  /**
226
232
  *
227
233
  * @param {import('@agoric/swingset-vat').VatAdminFacet} adminNode
228
- * @param {*} zcfBundleCap
229
234
  * @param {*} contractBundleCap
230
235
  */
231
- (adminNode, zcfBundleCap, contractBundleCap) => ({
236
+ (adminNode, contractBundleCap) => ({
232
237
  adminNode,
233
- zcfBundleCap,
234
238
  contractBundleCap,
235
239
  }),
236
240
  {
@@ -247,12 +251,13 @@ export const makeStartInstance = (
247
251
  privateArgs: newPrivateArgs,
248
252
  };
249
253
 
250
- return E(state.adminNode).upgrade(state.zcfBundleCap, {
251
- vatParameters,
252
- });
254
+ return E.when(getFreshZcfBundleCap(), bCap =>
255
+ E(state.adminNode).upgrade(bCap, { vatParameters }),
256
+ );
253
257
  },
254
258
  async upgradeContract(contractBundleId, newPrivateArgs = undefined) {
255
259
  const { state } = this;
260
+
256
261
  const newContractBundleCap = await getBundleCapByIdNow(
257
262
  contractBundleId,
258
263
  );
@@ -260,9 +265,9 @@ export const makeStartInstance = (
260
265
  contractBundleCap: newContractBundleCap,
261
266
  privateArgs: newPrivateArgs,
262
267
  };
263
- return E(state.adminNode).upgrade(state.zcfBundleCap, {
264
- vatParameters,
265
- });
268
+ return E.when(getFreshZcfBundleCap(), bCap =>
269
+ E(state.adminNode).upgrade(bCap, { vatParameters }),
270
+ );
266
271
  },
267
272
  },
268
273
  );
@@ -347,9 +352,6 @@ export const makeStartInstance = (
347
352
 
348
353
  instanceAdmin.initDelayedState(handleOfferObj, publicFacet);
349
354
 
350
- const settledBundleCap = await getZcfBundleCapP();
351
- settledBundleCap !== undefined || Fail`the bundle cap was broken`;
352
-
353
355
  // creatorInvitation can be undefined, but if it is defined,
354
356
  // let's make sure it is an invitation.
355
357
  return E.when(
@@ -365,11 +367,7 @@ export const makeStartInstance = (
365
367
  isLiveResult ||
366
368
  Fail`The contract did not correctly return a creatorInvitation`;
367
369
 
368
- const adminFacet = makeAdminFacet(
369
- adminNode,
370
- harden(settledBundleCap),
371
- contractBundleCap,
372
- );
370
+ const adminFacet = makeAdminFacet(adminNode, contractBundleCap);
373
371
 
374
372
  // Actually returned to the user.
375
373
  return harden({
@@ -1,7 +1,7 @@
1
1
  export type Baggage = import('@agoric/vat-data').Baggage;
2
2
  export type ZoeKit = ReturnType<typeof makeDurableZoeKit>;
3
3
  /**
4
- * Create an durable instance of Zoe.
4
+ * Create a durable instance of Zoe.
5
5
  *
6
6
  * @param {object} options
7
7
  * @param {Baggage} options.zoeBaggage - the baggage for Zoe durability. Must be provided by caller
@@ -22,6 +22,11 @@ export function makeDurableZoeKit({ zoeBaggage, vatAdminSvc, shutdownZoeVat, fee
22
22
  zcfSpec?: ZCFSpec | undefined;
23
23
  }): {
24
24
  zoeService: ZoeService;
25
+ zoeConfigFacet: {
26
+ updateZcfBundleId(bundleId: any): void;
27
+ } & import("@endo/eventual-send").RemotableBrand<{}, {
28
+ updateZcfBundleId(bundleId: any): void;
29
+ }>;
25
30
  /** @type {FeeMintAccess} */
26
31
  feeMintAccess: FeeMintAccess;
27
32
  setVatAdminService: ((lateVatAdminSvc: any) => void) & import("@endo/eventual-send").RemotableBrand<{}, (lateVatAdminSvc: any) => void>;
@@ -44,6 +49,11 @@ export function makeDurableZoeKit({ zoeBaggage, vatAdminSvc, shutdownZoeVat, fee
44
49
  */
45
50
  export function makeZoeKit(vatAdminSvc?: import("@agoric/swingset-vat").VatAdminSvc | Promise<import("@agoric/swingset-vat").VatAdminSvc> | undefined, shutdownZoeVat?: import("@agoric/swingset-vat").ShutdownWithFailure | undefined, feeIssuerConfig?: FeeIssuerConfig | undefined, zcfSpec?: ZCFSpec | undefined): {
46
51
  zoeService: ZoeService;
52
+ zoeConfigFacet: {
53
+ updateZcfBundleId(bundleId: any): void;
54
+ } & import("@endo/eventual-send").RemotableBrand<{}, {
55
+ updateZcfBundleId(bundleId: any): void;
56
+ }>;
47
57
  /** @type {FeeMintAccess} */
48
58
  feeMintAccess: FeeMintAccess;
49
59
  setVatAdminService: ((lateVatAdminSvc: any) => void) & import("@endo/eventual-send").RemotableBrand<{}, (lateVatAdminSvc: any) => void>;
@@ -1 +1 @@
1
- {"version":3,"file":"zoe.d.ts","sourceRoot":"","sources":["zoe.js"],"names":[],"mappings":"sBA6Bc,OAAO,kBAAkB,EAAE,OAAO;qBAwOnC,WAAW,wBAAwB,CAAC;AApOjD;;;;;;;;;;;;;GAaG;AACH;IAV4B,UAAU,EAA3B,OAAO;IACsC,WAAW;IAG1B,cAAc;IAGlB,eAAe;IACvB,OAAO;;;IAoLhC,4BAA4B;mBAAjB,aAAa;;EAK3B;AAED;;;;;;;;;;;;;;;GAeG;AACH;;IAvBI,4BAA4B;mBAAjB,aAAa;;EA8BxB"}
1
+ {"version":3,"file":"zoe.d.ts","sourceRoot":"","sources":["zoe.js"],"names":[],"mappings":"sBA8Bc,OAAO,kBAAkB,EAAE,OAAO;qBA6PnC,WAAW,wBAAwB,CAAC;AAzPjD;;;;;;;;;;;;;GAaG;AACH;IAV4B,UAAU,EAA3B,OAAO;IACsC,WAAW;IAG1B,cAAc;IAGlB,eAAe;IACvB,OAAO;;;;;;;;IAyMhC,4BAA4B;mBAAjB,aAAa;;EAK3B;AAED;;;;;;;;;;;;;;;GAeG;AACH;;;;;;;IAvBI,4BAA4B;mBAAjB,aAAa;;EA8BxB"}
@@ -18,6 +18,7 @@ import '../internal-types.js';
18
18
  import { E } from '@endo/eventual-send';
19
19
  import { Far } from '@endo/marshal';
20
20
  import { makeScalarBigMapStore, prepareExo } from '@agoric/vat-data';
21
+ import { M } from '@agoric/store';
21
22
 
22
23
  import { makeZoeStorageManager } from './zoeStorageManager.js';
23
24
  import { makeStartInstance } from './startInstance.js';
@@ -32,7 +33,7 @@ import { ZoeServiceI } from '../typeGuards.js';
32
33
  const { Fail } = assert;
33
34
 
34
35
  /**
35
- * Create an durable instance of Zoe.
36
+ * Create a durable instance of Zoe.
36
37
  *
37
38
  * @param {object} options
38
39
  * @param {Baggage} options.zoeBaggage - the baggage for Zoe durability. Must be provided by caller
@@ -52,6 +53,7 @@ const makeDurableZoeKit = ({
52
53
  feeIssuerConfig = defaultFeeIssuerConfig,
53
54
  zcfSpec = { name: 'zcf' },
54
55
  }) => {
56
+ /** @type {BundleCap} */
55
57
  let zcfBundleCap;
56
58
 
57
59
  const saveBundleCap = () => {
@@ -168,6 +170,25 @@ const makeDurableZoeKit = ({
168
170
  });
169
171
  };
170
172
 
173
+ const ZoeConfigI = M.interface('ZoeConfigFacet', {
174
+ updateZcfBundleId: M.call(M.string()).returns(),
175
+ });
176
+
177
+ const zoeConfigFacet = prepareExo(zoeBaggage, 'ZoeConfigFacet', ZoeConfigI, {
178
+ updateZcfBundleId(bundleId) {
179
+ E.when(
180
+ getZcfBundleCap({ id: bundleId }, vatAdminSvc),
181
+ bundleCap => {
182
+ zcfBundleCap = bundleCap;
183
+ },
184
+ e => {
185
+ console.error(`'🚨 unable to update ZCF Bundle: `, e);
186
+ throw e;
187
+ },
188
+ );
189
+ },
190
+ });
191
+
171
192
  /** @type {ZoeService} */
172
193
  const zoeService = prepareExo(zoeBaggage, 'ZoeService', ZoeServiceI, {
173
194
  install(bundleId, bundleLabel) {
@@ -223,6 +244,7 @@ const makeDurableZoeKit = ({
223
244
 
224
245
  return harden({
225
246
  zoeService,
247
+ zoeConfigFacet,
226
248
  /** @type {FeeMintAccess} */
227
249
  // @ts-expect-error cast
228
250
  feeMintAccess: feeMintKit.feeMintAccess,
@@ -1 +1 @@
1
- {"version":3,"file":"zoeStorageManager.d.ts","sourceRoot":"","sources":["zoeStorageManager.js"],"names":[],"mappings":"AAmDO,oDAXI,YAAY,qBAEZ,iBAAiB,kBACjB,mBAAmB,WACnB;IACV,eAAoB,EAAE,eAAe,CAAC;IACtC,YAAiB,EAAE,MAAM,MAAM,CAAC;IAChC,WAAgB,EAAE,MAAM,KAAK,CAAC;CAC3B;;;;;;;;;;;;;;;;;;;;;;;QA+ZI,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAAjC,iCAAiC;;;;;;;;;;;GAYxC;sBAjca,OAAO,kBAAkB,EAAE,OAAO"}
1
+ {"version":3,"file":"zoeStorageManager.d.ts","sourceRoot":"","sources":["zoeStorageManager.js"],"names":[],"mappings":"AAwDO,oDAXI,YAAY,qBAEZ,iBAAiB,kBACjB,mBAAmB,WACnB;IACV,eAAoB,EAAE,eAAe,CAAC;IACtC,YAAiB,EAAE,MAAM,MAAM,CAAC;IAChC,WAAgB,EAAE,MAAM,KAAK,CAAC;CAC3B;;;;;;;;;;;;;;;;;;;;;;;QA+ZI,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAAjC,iCAAiC;;;;;;;;;;;GAYxC;sBAjca,OAAO,kBAAkB,EAAE,OAAO"}
@@ -1,5 +1,10 @@
1
1
  import { E } from '@endo/far';
2
- import { AssetKind, makeDurableIssuerKit, AmountMath } from '@agoric/ertp';
2
+ import {
3
+ AssetKind,
4
+ makeDurableIssuerKit,
5
+ AmountMath,
6
+ prepareIssuerKit,
7
+ } from '@agoric/ertp';
3
8
  import {
4
9
  makeScalarBigMapStore,
5
10
  provideDurableWeakMapStore,
@@ -117,7 +122,7 @@ export const makeZoeStorageManager = (
117
122
  'zoeMintBaggageSet',
118
123
  );
119
124
  for (const issuerBaggage of zoeMintBaggageSet.values()) {
120
- zoeMintBaggageSet(issuerBaggage);
125
+ prepareIssuerKit(issuerBaggage);
121
126
  }
122
127
 
123
128
  const makeZoeMint = prepareExoClass(
@@ -1,5 +1,10 @@
1
1
  export function makeZoeKitForTest(vatAdminSvc?: import("@agoric/swingset-vat").VatAdminSvc | undefined): {
2
2
  zoeService: ZoeService;
3
+ zoeConfigFacet: {
4
+ updateZcfBundleId(bundleId: any): void;
5
+ } & import("@endo/eventual-send").RemotableBrand<{}, {
6
+ updateZcfBundleId(bundleId: any): void;
7
+ }>;
3
8
  feeMintAccess: FeeMintAccess;
4
9
  setVatAdminService: ((lateVatAdminSvc: any) => void) & import("@endo/eventual-send").RemotableBrand<{}, (lateVatAdminSvc: any) => void>;
5
10
  };
@@ -1 +1 @@
1
- {"version":3,"file":"setup-zoe.d.ts","sourceRoot":"","sources":["setup-zoe.js"],"names":[],"mappings":"AASO;;;;EAKN;AAKM,iHACoC;AAYpC;IAL+B,MAAM,gBAArB,IAAI;IACU,eAAe;IACnB,WAAW;IACf,aAAa;;;;;;;;;;;;;;;;;;GA+BzC"}
1
+ {"version":3,"file":"setup-zoe.d.ts","sourceRoot":"","sources":["setup-zoe.js"],"names":[],"mappings":"AASO;;;;;;;;;EAKN;AAKM,iHACoC;AAYpC;IAL+B,MAAM,gBAArB,IAAI;IACU,eAAe;IACnB,WAAW;IACf,aAAa;;;;;;;;;;;;;;;;;;GA+BzC"}