@agoric/pegasus 0.7.13-dev-5dc325b.0 → 0.7.13-getting-started-dev-d127d1d.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/CHANGELOG.md ADDED
@@ -0,0 +1,466 @@
1
+ # Change Log
2
+
3
+ All notable changes to this project will be documented in this file.
4
+ See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
+
6
+ ### [0.7.13-u12.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.7.13-u11wf.0...@agoric/pegasus@0.7.13-u12.0) (2023-11-10)
7
+
8
+ **Note:** Version bump only for package @agoric/pegasus
9
+
10
+
11
+
12
+
13
+
14
+ ### [0.7.13-u11wf.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.7.13-u11.0...@agoric/pegasus@0.7.13-u11wf.0) (2023-09-23)
15
+
16
+ **Note:** Version bump only for package @agoric/pegasus
17
+
18
+
19
+
20
+
21
+
22
+ ### [0.7.13-u11.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.7.12...@agoric/pegasus@0.7.13-u11.0) (2023-08-24)
23
+
24
+ **Note:** Version bump only for package @agoric/pegasus
25
+
26
+
27
+
28
+
29
+
30
+ ### [0.7.12](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.7.11...@agoric/pegasus@0.7.12) (2023-06-09)
31
+
32
+ **Note:** Version bump only for package @agoric/pegasus
33
+
34
+
35
+
36
+
37
+
38
+ ### [0.7.11](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.7.10...@agoric/pegasus@0.7.11) (2023-06-02)
39
+
40
+ **Note:** Version bump only for package @agoric/pegasus
41
+
42
+
43
+
44
+
45
+
46
+ ### [0.7.10](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.7.9...@agoric/pegasus@0.7.10) (2023-05-24)
47
+
48
+ **Note:** Version bump only for package @agoric/pegasus
49
+
50
+
51
+
52
+
53
+
54
+ ### [0.7.9](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.7.6...@agoric/pegasus@0.7.9) (2023-05-19)
55
+
56
+
57
+ ### Bug Fixes
58
+
59
+ * use `subscribeEach` to get reconnect benefits ([fb24132](https://github.com/Agoric/agoric-sdk/commit/fb24132f9b4e117e56bae2803994e57c188344f3))
60
+ * use atomicTransfers rather than stagings. ([#6577](https://github.com/Agoric/agoric-sdk/issues/6577)) ([65d3f14](https://github.com/Agoric/agoric-sdk/commit/65d3f14c8102993168d2568eed5e6acbcba0c48a))
61
+
62
+
63
+
64
+ ### [0.7.8](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.7.7...@agoric/pegasus@0.7.8) (2023-02-17)
65
+
66
+ **Note:** Version bump only for package @agoric/pegasus
67
+
68
+
69
+
70
+
71
+
72
+ ### [0.7.7](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.7.6...@agoric/pegasus@0.7.7) (2022-12-14)
73
+
74
+ **Note:** Version bump only for package @agoric/pegasus
75
+
76
+
77
+
78
+
79
+
80
+ ### [0.7.6](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.7.5...@agoric/pegasus@0.7.6) (2022-10-18)
81
+
82
+ **Note:** Version bump only for package @agoric/pegasus
83
+
84
+
85
+
86
+
87
+
88
+ ### [0.7.5](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.7.4...@agoric/pegasus@0.7.5) (2022-10-08)
89
+
90
+ **Note:** Version bump only for package @agoric/pegasus
91
+
92
+
93
+
94
+
95
+
96
+ ### [0.7.4](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.7.3...@agoric/pegasus@0.7.4) (2022-10-05)
97
+
98
+ **Note:** Version bump only for package @agoric/pegasus
99
+
100
+
101
+
102
+
103
+
104
+ ### [0.7.3](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.7.2...@agoric/pegasus@0.7.3) (2022-09-20)
105
+
106
+
107
+ ### Bug Fixes
108
+
109
+ * show more stacks ([#5980](https://github.com/Agoric/agoric-sdk/issues/5980)) ([7e22057](https://github.com/Agoric/agoric-sdk/commit/7e220575af0e5b0607d821675c57a3714f48fd65))
110
+
111
+
112
+
113
+ ### [0.7.2](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.7.1...@agoric/pegasus@0.7.2) (2022-05-28)
114
+
115
+ **Note:** Version bump only for package @agoric/pegasus
116
+
117
+
118
+
119
+
120
+
121
+ ### [0.7.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.7.0...@agoric/pegasus@0.7.1) (2022-05-09)
122
+
123
+ **Note:** Version bump only for package @agoric/pegasus
124
+
125
+
126
+
127
+
128
+
129
+ ## [0.7.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.6.1...@agoric/pegasus@0.7.0) (2022-04-18)
130
+
131
+
132
+ ### ⚠ BREAKING CHANGES
133
+
134
+ * consistent Node engine requirement (>=14.15.0)
135
+
136
+ ### Features
137
+
138
+ * **pegasus:** prepare for governance ([4c921b5](https://github.com/Agoric/agoric-sdk/commit/4c921b501e425e861479c9197bc24d1d09f4a2ac))
139
+ * **vats:** remove pegasus from bootstrap ([c384a41](https://github.com/Agoric/agoric-sdk/commit/c384a41c6e494059beb28c09a94e5625faa5f87e))
140
+ * implement the durable kind API ([56bad98](https://github.com/Agoric/agoric-sdk/commit/56bad985275787d18c34ac14b377a4d0348d699b)), closes [#4495](https://github.com/Agoric/agoric-sdk/issues/4495)
141
+
142
+
143
+ ### Miscellaneous Chores
144
+
145
+ * consistent Node engine requirement (>=14.15.0) ([ddc40fa](https://github.com/Agoric/agoric-sdk/commit/ddc40fa525f845ed900512c38b99f01458a3d131))
146
+
147
+
148
+
149
+ ### [0.6.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.6.0...@agoric/pegasus@0.6.1) (2022-02-24)
150
+
151
+
152
+ ### Features
153
+
154
+ * overhaul the virtual object API ([e40674b](https://github.com/Agoric/agoric-sdk/commit/e40674b0b19f29adde2f5e6a460bafb7340d42b6)), closes [#4606](https://github.com/Agoric/agoric-sdk/issues/4606)
155
+
156
+
157
+
158
+ ## [0.6.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.5.1...@agoric/pegasus@0.6.0) (2022-02-21)
159
+
160
+
161
+ ### ⚠ BREAKING CHANGES
162
+
163
+ * **pegasus:** make more robust and remove public state
164
+
165
+ ### Features
166
+
167
+ * **pegasus:** implement correct result and denom trace handling ([aacf1c3](https://github.com/Agoric/agoric-sdk/commit/aacf1c39f840beb31702f3fcd3565771ccaf7817))
168
+ * **pegasus:** make more robust and remove public state ([a5413f7](https://github.com/Agoric/agoric-sdk/commit/a5413f781fc694e3e11804b5288740e9319928ee))
169
+ * **pegasus:** properly abort on connection close ([1b17f7a](https://github.com/Agoric/agoric-sdk/commit/1b17f7aa4de11ccd5a1ec26fc7b6fff017d70ac1))
170
+ * **pegasus:** rejectStuckTransfers, getRemoteDenomSubscription ([54bf0bc](https://github.com/Agoric/agoric-sdk/commit/54bf0bc4e83172396962295ba76b8af3a8846df9))
171
+ * implement persistent stores ([e1050b0](https://github.com/Agoric/agoric-sdk/commit/e1050b010e095b23547a38d48a12e5c8841a7466))
172
+
173
+
174
+ ### Bug Fixes
175
+
176
+ * **pegasus:** more POLA and less global state ([e7ea320](https://github.com/Agoric/agoric-sdk/commit/e7ea32047f5a87a18c5ed4722d4d6e2163f7f2aa))
177
+ * **pegasus:** more robust ics20 JSON parsing ([208109f](https://github.com/Agoric/agoric-sdk/commit/208109f2e4df9e4df5c2371c6a299a42349d5c69))
178
+ * **pegasus:** only reject transfers waiting for pegRemote ([f1801f6](https://github.com/Agoric/agoric-sdk/commit/f1801f63ad81ec06fc3b86c3a44e98130b310351))
179
+ * **pegasus:** use bigints for nonces ([9065d6e](https://github.com/Agoric/agoric-sdk/commit/9065d6ee205082efd2253e6bd06ee08676535b50))
180
+ * **pegasus:** use dummy ICS20-1 transfer `sender` ([c4056bc](https://github.com/Agoric/agoric-sdk/commit/c4056bcd48800b6bfadb4de5eaccb66af6446ef4))
181
+ * `rejectStuckTransfers` sends a TransferProtocol-level error ([8374f94](https://github.com/Agoric/agoric-sdk/commit/8374f941597e22ac20f40b959381218f03563f65))
182
+ * Enhance TypeScript node_modules traversal depth ([000f738](https://github.com/Agoric/agoric-sdk/commit/000f73850d46dc7272b2399c06ad774dd3b8fe6e))
183
+
184
+
185
+
186
+ ### [0.5.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.5.0...@agoric/pegasus@0.5.1) (2021-12-22)
187
+
188
+ **Note:** Version bump only for package @agoric/pegasus
189
+
190
+
191
+
192
+
193
+
194
+ ## [0.5.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.4.5...@agoric/pegasus@0.5.0) (2021-12-02)
195
+
196
+
197
+ ### ⚠ BREAKING CHANGES
198
+
199
+ * **zoe:** must harden `amountKeywordRecord` before passing to ZCF objects
200
+
201
+ * chore: fix treasury errors, etc.
202
+
203
+ Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
204
+
205
+ ### Bug Fixes
206
+
207
+ * **zoe:** assert that amountKeywordRecord is a copyRecord ([#4069](https://github.com/Agoric/agoric-sdk/issues/4069)) ([fe9a9ff](https://github.com/Agoric/agoric-sdk/commit/fe9a9ff3de86608a0b1f8f9547059f89d45b948d))
208
+
209
+
210
+
211
+ ### [0.4.5](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.4.4...@agoric/pegasus@0.4.5) (2021-10-13)
212
+
213
+ **Note:** Version bump only for package @agoric/pegasus
214
+
215
+
216
+
217
+
218
+
219
+ ### [0.4.4](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.4.3...@agoric/pegasus@0.4.4) (2021-09-23)
220
+
221
+ **Note:** Version bump only for package @agoric/pegasus
222
+
223
+
224
+
225
+
226
+
227
+ ### [0.4.3](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.4.2...@agoric/pegasus@0.4.3) (2021-09-15)
228
+
229
+
230
+ ### Bug Fixes
231
+
232
+ * more missing Fars. kill "this" ([#3746](https://github.com/Agoric/agoric-sdk/issues/3746)) ([7bd027a](https://github.com/Agoric/agoric-sdk/commit/7bd027a879f98a9a3f30429ee1b54e6057efec42))
233
+
234
+
235
+
236
+ ### [0.4.2](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.4.1...@agoric/pegasus@0.4.2) (2021-08-21)
237
+
238
+ **Note:** Version bump only for package @agoric/pegasus
239
+
240
+
241
+
242
+
243
+
244
+ ### [0.4.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.4.0...@agoric/pegasus@0.4.1) (2021-08-18)
245
+
246
+ **Note:** Version bump only for package @agoric/pegasus
247
+
248
+
249
+
250
+
251
+
252
+ ## [0.4.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.3.12...@agoric/pegasus@0.4.0) (2021-08-17)
253
+
254
+
255
+ ### ⚠ BREAKING CHANGES
256
+
257
+ * make the run mint within Zoe, and give only the treasury the ability to create a ZCFMint with it
258
+
259
+ * chore: change 'makeZoe' to 'makeZoeKit'
260
+
261
+ * chore: add "shutdownZoeVat" argument to Zoe, and pass it to `makeIssuerKit` for invitation issuerKit and fee issuerKit
262
+
263
+ * chore: manually lint-fix install-on-chain.js
264
+
265
+ See https://github.com/Agoric/agoric-sdk/issues/3672 for the issue to fix the root problem
266
+
267
+ * BREAKING CHANGE: create the RUN Mint within Zoe (#3647) ([48762aa](https://github.com/Agoric/agoric-sdk/commit/48762aa83a30eaa0a14b2fd87777456758594262)), closes [#3647](https://github.com/Agoric/agoric-sdk/issues/3647)
268
+
269
+
270
+
271
+ ### [0.3.12](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.3.11...@agoric/pegasus@0.3.12) (2021-08-16)
272
+
273
+ **Note:** Version bump only for package @agoric/pegasus
274
+
275
+
276
+
277
+
278
+
279
+ ### [0.3.11](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.3.8...@agoric/pegasus@0.3.11) (2021-08-15)
280
+
281
+ ### 0.26.10 (2021-07-28)
282
+
283
+
284
+ ### Bug Fixes
285
+
286
+ * zoe/spawner/pegasus: use unlimited Meter, not metered: true ([04d4fd9](https://github.com/Agoric/agoric-sdk/commit/04d4fd96982ecd02de50f09fa38c6e2800cca527)), closes [#3308](https://github.com/Agoric/agoric-sdk/issues/3308)
287
+
288
+
289
+
290
+ ### [0.3.10](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.3.8...@agoric/pegasus@0.3.10) (2021-08-14)
291
+
292
+ ### 0.26.10 (2021-07-28)
293
+
294
+
295
+ ### Bug Fixes
296
+
297
+ * zoe/spawner/pegasus: use unlimited Meter, not metered: true ([04d4fd9](https://github.com/Agoric/agoric-sdk/commit/04d4fd96982ecd02de50f09fa38c6e2800cca527)), closes [#3308](https://github.com/Agoric/agoric-sdk/issues/3308)
298
+
299
+
300
+
301
+ ### [0.3.9](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.3.8...@agoric/pegasus@0.3.9) (2021-07-28)
302
+
303
+
304
+ ### Bug Fixes
305
+
306
+ * zoe/spawner/pegasus: use unlimited Meter, not metered: true ([04d4fd9](https://github.com/Agoric/agoric-sdk/commit/04d4fd96982ecd02de50f09fa38c6e2800cca527)), closes [#3308](https://github.com/Agoric/agoric-sdk/issues/3308)
307
+
308
+
309
+
310
+ ### [0.3.8](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.3.7...@agoric/pegasus@0.3.8) (2021-07-01)
311
+
312
+ **Note:** Version bump only for package @agoric/pegasus
313
+
314
+
315
+
316
+
317
+
318
+ ### [0.3.7](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.3.6...@agoric/pegasus@0.3.7) (2021-07-01)
319
+
320
+ **Note:** Version bump only for package @agoric/pegasus
321
+
322
+
323
+
324
+
325
+
326
+ ### [0.3.6](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.3.5...@agoric/pegasus@0.3.6) (2021-06-28)
327
+
328
+ **Note:** Version bump only for package @agoric/pegasus
329
+
330
+
331
+
332
+
333
+
334
+ ### [0.3.5](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.3.4...@agoric/pegasus@0.3.5) (2021-06-25)
335
+
336
+ **Note:** Version bump only for package @agoric/pegasus
337
+
338
+
339
+
340
+
341
+
342
+ ### [0.3.4](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.3.3...@agoric/pegasus@0.3.4) (2021-06-24)
343
+
344
+ **Note:** Version bump only for package @agoric/pegasus
345
+
346
+
347
+
348
+
349
+
350
+ ### [0.3.3](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.3.2...@agoric/pegasus@0.3.3) (2021-06-24)
351
+
352
+ **Note:** Version bump only for package @agoric/pegasus
353
+
354
+
355
+
356
+
357
+
358
+ ### [0.3.2](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.3.1...@agoric/pegasus@0.3.2) (2021-06-23)
359
+
360
+ **Note:** Version bump only for package @agoric/pegasus
361
+
362
+
363
+
364
+
365
+
366
+ ### [0.3.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.3.0...@agoric/pegasus@0.3.1) (2021-06-16)
367
+
368
+ **Note:** Version bump only for package @agoric/pegasus
369
+
370
+
371
+
372
+
373
+
374
+ ## [0.3.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.2.7...@agoric/pegasus@0.3.0) (2021-06-15)
375
+
376
+
377
+ ### ⚠ BREAKING CHANGES
378
+
379
+ * **zoe:** new reallocate API to assist with reviewing conservation of rights (#3184)
380
+
381
+ ### Bug Fixes
382
+
383
+ * Pin ESM to forked version ([54dbb55](https://github.com/Agoric/agoric-sdk/commit/54dbb55d64d7ff7adb395bc4bd9d1461dd2d3c17))
384
+
385
+
386
+ ### Code Refactoring
387
+
388
+ * **zoe:** new reallocate API to assist with reviewing conservation of rights ([#3184](https://github.com/Agoric/agoric-sdk/issues/3184)) ([f34e5ea](https://github.com/Agoric/agoric-sdk/commit/f34e5eae0812a9823d40d2d05ba98522c7846f2a))
389
+
390
+
391
+
392
+ ## [0.2.7](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.2.6...@agoric/pegasus@0.2.7) (2021-05-10)
393
+
394
+ **Note:** Version bump only for package @agoric/pegasus
395
+
396
+
397
+
398
+
399
+
400
+ ## [0.2.6](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.2.5...@agoric/pegasus@0.2.6) (2021-05-05)
401
+
402
+ **Note:** Version bump only for package @agoric/pegasus
403
+
404
+
405
+
406
+
407
+
408
+ ## [0.2.5](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.2.4...@agoric/pegasus@0.2.5) (2021-05-05)
409
+
410
+
411
+ ### Bug Fixes
412
+
413
+ * **pegasus:** update to new solo package ([cf91a04](https://github.com/Agoric/agoric-sdk/commit/cf91a04fa6ce53dc06de0ccb8c8173050134575a))
414
+
415
+
416
+
417
+
418
+
419
+ ## [0.2.4](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.2.3...@agoric/pegasus@0.2.4) (2021-04-22)
420
+
421
+
422
+ ### Bug Fixes
423
+
424
+ * rename cosmos-level tokens uagstake/uag to ubld/urun ([0557983](https://github.com/Agoric/agoric-sdk/commit/0557983210571c9c2ba801d68644d71641a3f790))
425
+
426
+
427
+
428
+
429
+
430
+ ## [0.2.3](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.2.2...@agoric/pegasus@0.2.3) (2021-04-18)
431
+
432
+ **Note:** Version bump only for package @agoric/pegasus
433
+
434
+
435
+
436
+
437
+
438
+ ## [0.2.2](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.2.1...@agoric/pegasus@0.2.2) (2021-04-16)
439
+
440
+ **Note:** Version bump only for package @agoric/pegasus
441
+
442
+
443
+
444
+
445
+
446
+ ## [0.2.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/pegasus@0.2.0...@agoric/pegasus@0.2.1) (2021-04-14)
447
+
448
+ **Note:** Version bump only for package @agoric/pegasus
449
+
450
+
451
+
452
+
453
+
454
+ # 0.2.0 (2021-04-13)
455
+
456
+
457
+ ### Bug Fixes
458
+
459
+ * adjust Pegasus to actually work correctly with pegRemote ([8cd8c72](https://github.com/Agoric/agoric-sdk/commit/8cd8c72bc5fa207471ac2fdd9ac750dbdda7c39f))
460
+
461
+
462
+ ### Features
463
+
464
+ * install Pegasus on chain bootstrap ([7615292](https://github.com/Agoric/agoric-sdk/commit/76152926942f9c0610ab3d08a45c464856779643))
465
+ * integrate pegasus in chain bootstrap ([5c7ecba](https://github.com/Agoric/agoric-sdk/commit/5c7ecba05d0e6ec7ef9fe127ee89e0c79d3e6511))
466
+ * move Pegasus contract to SDK ([d0ca2cc](https://github.com/Agoric/agoric-sdk/commit/d0ca2cc155953c63eef5f56f236fa9280984730a))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/pegasus",
3
- "version": "0.7.13-dev-5dc325b.0+5dc325b",
3
+ "version": "0.7.13-getting-started-dev-d127d1d.0+d127d1d",
4
4
  "description": "Peg-as-us contract",
5
5
  "type": "module",
6
6
  "main": "./src/pegasus.js",
@@ -8,14 +8,15 @@
8
8
  "node": ">=14.15.0"
9
9
  },
10
10
  "scripts": {
11
- "build": "exit 0",
11
+ "build": "yarn build:bundles",
12
+ "build:bundles": "node scripts/build-bundles.js",
12
13
  "test": "ava",
13
14
  "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js",
14
15
  "test:xs": "exit 0",
15
16
  "lint-fix": "yarn lint:eslint --fix",
16
17
  "lint": "run-s --continue-on-error lint:*",
17
18
  "lint:eslint": "eslint .",
18
- "lint:types": "tsc"
19
+ "lint:types": "tsc -p jsconfig.json"
19
20
  },
20
21
  "repository": {
21
22
  "type": "git",
@@ -28,24 +29,24 @@
28
29
  },
29
30
  "homepage": "https://github.com/Agoric/agoric-sdk#readme",
30
31
  "dependencies": {
31
- "@agoric/assert": "0.6.1-dev-5dc325b.0+5dc325b",
32
- "@agoric/ertp": "0.16.3-dev-5dc325b.0+5dc325b",
33
- "@agoric/internal": "0.3.3-dev-5dc325b.0+5dc325b",
34
- "@agoric/network": "0.1.1-dev-5dc325b.0+5dc325b",
35
- "@agoric/notifier": "0.6.3-dev-5dc325b.0+5dc325b",
36
- "@agoric/store": "0.9.3-dev-5dc325b.0+5dc325b",
37
- "@agoric/swingset-vat": "0.32.3-dev-5dc325b.0+5dc325b",
38
- "@agoric/vats": "0.15.2-dev-5dc325b.0+5dc325b",
39
- "@agoric/zoe": "0.26.3-dev-5dc325b.0+5dc325b",
40
- "@endo/bundle-source": "^2.7.0",
41
- "@endo/captp": "^3.1.4",
42
- "@endo/far": "^0.2.21",
43
- "@endo/init": "^0.5.59",
44
- "@endo/nat": "^4.1.30",
45
- "@endo/promise-kit": "^0.2.59"
32
+ "@agoric/assert": "0.6.1-getting-started-dev-d127d1d.0+d127d1d",
33
+ "@agoric/ertp": "0.16.3-getting-started-dev-d127d1d.0+d127d1d",
34
+ "@agoric/internal": "0.4.0-getting-started-dev-d127d1d.0+d127d1d",
35
+ "@agoric/notifier": "0.6.3-getting-started-dev-d127d1d.0+d127d1d",
36
+ "@agoric/store": "0.9.3-getting-started-dev-d127d1d.0+d127d1d",
37
+ "@agoric/swingset-vat": "0.32.3-getting-started-dev-d127d1d.0+d127d1d",
38
+ "@agoric/vats": "0.15.2-getting-started-dev-d127d1d.0+d127d1d",
39
+ "@agoric/zoe": "0.26.3-getting-started-dev-d127d1d.0+d127d1d",
40
+ "@endo/bundle-source": "2.5.2-upstream-rollup",
41
+ "@endo/captp": "3.1.1",
42
+ "@endo/far": "0.2.18",
43
+ "@endo/init": "0.5.56",
44
+ "@endo/nat": "4.1.27",
45
+ "@endo/promise-kit": "0.2.56"
46
46
  },
47
47
  "devDependencies": {
48
- "ava": "^5.3.0",
48
+ "@agoric/deploy-script-support": "0.10.4-getting-started-dev-d127d1d.0+d127d1d",
49
+ "ava": "^5.2.0",
49
50
  "c8": "^7.13.0",
50
51
  "import-meta-resolve": "^2.2.1"
51
52
  },
@@ -59,16 +60,10 @@
59
60
  "files": [
60
61
  "test/**/test-*.js"
61
62
  ],
62
- "require": [
63
- "@endo/init/debug.js"
64
- ],
65
63
  "timeout": "10m"
66
64
  },
67
65
  "publishConfig": {
68
66
  "access": "public"
69
67
  },
70
- "typeCoverage": {
71
- "atLeast": 90.04
72
- },
73
- "gitHead": "5dc325b8cc1d94f46ecc18a7c67a14989feade11"
68
+ "gitHead": "d127d1db6a8d22a5c56c6408f69ae753c8215372"
74
69
  }
@@ -0,0 +1,9 @@
1
+ #! /usr/bin/env node
2
+ import '@endo/init';
3
+ import { extractProposalBundles } from '@agoric/deploy-script-support';
4
+ import url from 'url';
5
+
6
+ import { defaultProposalBuilder } from './init-core.js';
7
+
8
+ const dirname = url.fileURLToPath(new URL('.', import.meta.url));
9
+ extractProposalBundles([['.', defaultProposalBuilder]], dirname);
@@ -0,0 +1,20 @@
1
+ import { makeHelpers } from '@agoric/deploy-script-support';
2
+
3
+ /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').ProposalBuilder} */
4
+ export const defaultProposalBuilder = async ({ publishRef, install }) =>
5
+ harden({
6
+ sourceSpec: '../src/proposals/core-proposal.js',
7
+ getManifestCall: [
8
+ 'getManifestForPegasus',
9
+ {
10
+ pegasusRef: publishRef(
11
+ install('../src/pegasus.js', '../bundles/bundle-pegasus.js'),
12
+ ),
13
+ },
14
+ ],
15
+ });
16
+
17
+ export default async (homeP, endowments) => {
18
+ const { writeCoreProposal } = await makeHelpers(homeP, endowments);
19
+ await writeCoreProposal('gov-pegasus', defaultProposalBuilder);
20
+ };
package/src/courier.js CHANGED
@@ -56,15 +56,13 @@ export const makeCourierMaker =
56
56
  transferProtocol,
57
57
  }) => {
58
58
  /** @type {Sender} */
59
- const send = async (zcfSeat, depositAddress, memo, opts) => {
59
+ const send = async (zcfSeat, depositAddress) => {
60
60
  const tryToSend = async () => {
61
61
  const amount = zcfSeat.getAmountAllocated('Transfer', localBrand);
62
62
  const transferPacket = await E(transferProtocol).makeTransferPacket({
63
63
  value: amount.value,
64
64
  remoteDenom: sendDenom,
65
65
  depositAddress,
66
- memo,
67
- opts,
68
66
  });
69
67
 
70
68
  // Retain the payment. We must not proceed on failure.
package/src/ibc-trace.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import { Far } from '@endo/far';
3
3
  import { Fail } from '@agoric/assert';
4
4
 
5
- import { parse } from '@agoric/network';
5
+ import { parse } from '@agoric/swingset-vat/src/vats/network/multiaddr.js';
6
6
 
7
7
  /**
8
8
  * Return a source-prefixed version of the denomination, as specified in
package/src/ics20.js CHANGED
@@ -10,15 +10,15 @@ import { assert, details as X, Fail } from '@agoric/assert';
10
10
  * @property {Denom} denom The denomination of the amount
11
11
  * @property {string} sender The sender address
12
12
  * @property {DepositAddress} receiver The receiver deposit address
13
- * @property {string} memo The packet memo
14
13
  */
15
14
 
16
15
  // As specified in ICS20, the success result is a base64-encoded '\0x1' byte.
17
16
  const ICS20_TRANSFER_SUCCESS_RESULT = 'AQ==';
18
17
 
19
18
  // ibc-go as late as v3 requires the `sender` to be nonempty, but doesn't
20
- // actually use it on the receiving side.
21
- export const DEFAULT_SENDER_ADDRESS = 'pegasus';
19
+ // actually use it on the receiving side. We don't need it on the sending side,
20
+ // either, so we can just omit it.
21
+ export const DUMMY_SENDER_ADDRESS = 'pegasus';
22
22
 
23
23
  /**
24
24
  * @param {string} s
@@ -50,16 +50,10 @@ const safeJSONParseObject = s => {
50
50
  */
51
51
  export const parseICS20TransferPacket = async packet => {
52
52
  const ics20Packet = safeJSONParseObject(packet);
53
- const { amount, denom, receiver, memo, opts } = ics20Packet;
53
+ const { amount, denom, receiver } = ics20Packet;
54
54
 
55
55
  assert.typeof(denom, 'string', X`Denom ${denom} must be a string`);
56
56
  assert.typeof(receiver, 'string', X`Receiver ${receiver} must be a string`);
57
- memo === undefined ||
58
- assert.typeof(
59
- memo,
60
- 'string',
61
- X`Memo ${memo} must be a string or 'undefined'`,
62
- );
63
57
 
64
58
  // amount is a string in JSON.
65
59
  assert.typeof(amount, 'string', X`Amount ${amount} must be a string`);
@@ -72,8 +66,6 @@ export const parseICS20TransferPacket = async packet => {
72
66
  depositAddress: receiver,
73
67
  remoteDenom: denom,
74
68
  value,
75
- memo,
76
- opts,
77
69
  });
78
70
  };
79
71
 
@@ -88,8 +80,6 @@ export const makeICS20TransferPacket = async ({
88
80
  value,
89
81
  remoteDenom,
90
82
  depositAddress,
91
- memo,
92
- opts: { sender = DEFAULT_SENDER_ADDRESS },
93
83
  }) => {
94
84
  // We're using Nat as a dynamic check for overflow.
95
85
  const stringValue = String(Nat(value));
@@ -100,8 +90,7 @@ export const makeICS20TransferPacket = async ({
100
90
  amount: stringValue,
101
91
  denom: remoteDenom,
102
92
  receiver: depositAddress,
103
- sender,
104
- memo,
93
+ sender: DUMMY_SENDER_ADDRESS,
105
94
  };
106
95
 
107
96
  return JSON.stringify(ics20);
package/src/pegasus.js CHANGED
@@ -9,7 +9,8 @@ import {
9
9
  } from '@agoric/zoe/src/contractSupport/index.js';
10
10
  import { makeSubscriptionKit } from '@agoric/notifier';
11
11
 
12
- import '@agoric/network/exported.js';
12
+ import '@agoric/vats/exported.js';
13
+ import '@agoric/swingset-vat/src/vats/network/types.js';
13
14
  import '@agoric/zoe/exported.js';
14
15
 
15
16
  import '../exported.js';
@@ -303,9 +304,9 @@ const makePegasus = (zcf, board, namesByAddress) => {
303
304
  checkAbort = () => {
304
305
  throw reason;
305
306
  };
306
- for (const peg of pegs) {
307
+ pegs.forEach(peg => {
307
308
  pegToDenomState.delete(peg);
308
- }
309
+ });
309
310
  },
310
311
  });
311
312
  return pegasusConnectionActions;
@@ -315,8 +316,8 @@ const makePegasus = (zcf, board, namesByAddress) => {
315
316
  /**
316
317
  * Return a handler that can be used with the Network API.
317
318
  *
318
- * @param {ERef<TransferProtocol>} [transferProtocol]
319
- * @param {ERef<DenomTransformer>} [denomTransformer]
319
+ * @param {ERef<TransferProtocol>} [transferProtocol=DEFAULT_TRANSFER_PROTOCOL]
320
+ * @param {ERef<DenomTransformer>} [denomTransformer=DEFAULT_DENOM_TRANSFORMER]
320
321
  * @returns {PegasusConnectionKit}
321
322
  */
322
323
  makePegasusConnectionKit(
@@ -384,8 +385,9 @@ const makePegasus = (zcf, board, namesByAddress) => {
384
385
  async onReceive(c, packetBytes) {
385
386
  const doReceive = async () => {
386
387
  // Dispatch the packet to the appropriate Peg for this connection.
387
- const parts =
388
- await E(transferProtocol).parseTransferPacket(packetBytes);
388
+ const parts = await E(transferProtocol).parseTransferPacket(
389
+ packetBytes,
390
+ );
389
391
 
390
392
  const { remoteDenom: receiveDenom } = parts;
391
393
  assert.typeof(receiveDenom, 'string');
@@ -456,11 +458,9 @@ const makePegasus = (zcf, board, namesByAddress) => {
456
458
  *
457
459
  * @param {ERef<Peg>} pegP the peg over which to transfer
458
460
  * @param {DepositAddress} depositAddress the remote receiver's address
459
- * @param {string} [memo] the memo to attach to ics transfer packet
460
- * @param {SenderOptions} [opts] additional sender options
461
461
  * @returns {Promise<Invitation>} to transfer, make an offer of { give: { Transfer: pegAmount } } to this invitation
462
462
  */
463
- async makeInvitationToTransfer(pegP, depositAddress, memo = '', opts = {}) {
463
+ async makeInvitationToTransfer(pegP, depositAddress) {
464
464
  // Verify the peg.
465
465
  const peg = await pegP;
466
466
  const denomState = pegToDenomState.get(peg);
@@ -482,7 +482,7 @@ const makePegasus = (zcf, board, namesByAddress) => {
482
482
  */
483
483
  const offerHandler = zcfSeat => {
484
484
  assertProposalShape(zcfSeat, TRANSFER_PROPOSAL_SHAPE);
485
- send(zcfSeat, depositAddress, memo, opts);
485
+ send(zcfSeat, depositAddress);
486
486
  };
487
487
 
488
488
  return zcf.makeInvitation(offerHandler, `pegasus ${sendDenom} transfer`);
@@ -1,5 +1,4 @@
1
1
  // @ts-check
2
- /* eslint @typescript-eslint/no-floating-promises: "warn" */
3
2
  import { E, Far } from '@endo/far';
4
3
  import { makeNameHubKit } from '@agoric/vats/src/nameHub.js';
5
4
  import { observeIteration, subscribeEach } from '@agoric/notifier';
package/src/types.js CHANGED
@@ -12,8 +12,6 @@
12
12
  * @property {AmountValue} value
13
13
  * @property {Denom} remoteDenom
14
14
  * @property {DepositAddress} depositAddress
15
- * @property {string} memo
16
- * @property {SenderOptions} opts
17
15
  */
18
16
 
19
17
  /**
@@ -48,7 +46,7 @@
48
46
  */
49
47
 
50
48
  /**
51
- * @typedef {(zcfSeat: ZCFSeat, depositAddress: DepositAddress, memo: string, opt: SenderOptions) => Promise<void>} Sender
49
+ * @typedef {(zcfSeat: ZCFSeat, depositAddress: DepositAddress) => Promise<void>} Sender
52
50
  * Successive transfers are not guaranteed to be processed in the order in which they were sent.
53
51
  * @typedef {(parts: PacketParts) => Promise<Bytes>} Receiver
54
52
  * @typedef {object} Courier
@@ -112,8 +110,3 @@
112
110
  * @property {ConnectionHandler} handler
113
111
  * @property {Subscription<PegasusConnection>} subscription
114
112
  */
115
-
116
- /**
117
- * @typedef {object} SenderOptions
118
- * @property {string} [sender] the sender address attached to the packet to receive any refund
119
- */