@agoric/fast-usdc 0.1.1-dev-5fb1074.0 → 0.1.1-dev-a67bf28.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.
Files changed (2) hide show
  1. package/package.json +15 -15
  2. package/src/exos/settler.js +12 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/fast-usdc",
3
- "version": "0.1.1-dev-5fb1074.0+5fb1074",
3
+ "version": "0.1.1-dev-a67bf28.0+a67bf28",
4
4
  "description": "CLI and library for Fast USDC product",
5
5
  "type": "module",
6
6
  "files": [
@@ -23,9 +23,9 @@
23
23
  "lint:eslint": "eslint ."
24
24
  },
25
25
  "devDependencies": {
26
- "@agoric/swingset-liveslots": "0.10.3-dev-5fb1074.0+5fb1074",
27
- "@agoric/vats": "0.15.2-dev-5fb1074.0+5fb1074",
28
- "@agoric/zone": "0.2.3-dev-5fb1074.0+5fb1074",
26
+ "@agoric/swingset-liveslots": "0.10.3-dev-a67bf28.0+a67bf28",
27
+ "@agoric/vats": "0.15.2-dev-a67bf28.0+a67bf28",
28
+ "@agoric/zone": "0.2.3-dev-a67bf28.0+a67bf28",
29
29
  "@fast-check/ava": "^2.0.1",
30
30
  "ava": "^5.3.0",
31
31
  "c8": "^10.1.2",
@@ -33,16 +33,16 @@
33
33
  "ts-blank-space": "^0.4.4"
34
34
  },
35
35
  "dependencies": {
36
- "@agoric/client-utils": "0.1.1-dev-5fb1074.0+5fb1074",
37
- "@agoric/cosmic-proto": "0.4.1-dev-5fb1074.0+5fb1074",
38
- "@agoric/ertp": "0.16.3-dev-5fb1074.0+5fb1074",
39
- "@agoric/internal": "0.3.3-dev-5fb1074.0+5fb1074",
40
- "@agoric/notifier": "0.6.3-dev-5fb1074.0+5fb1074",
41
- "@agoric/orchestration": "0.1.1-dev-5fb1074.0+5fb1074",
42
- "@agoric/store": "0.9.3-dev-5fb1074.0+5fb1074",
43
- "@agoric/vat-data": "0.5.3-dev-5fb1074.0+5fb1074",
44
- "@agoric/vow": "0.1.1-dev-5fb1074.0+5fb1074",
45
- "@agoric/zoe": "0.26.3-dev-5fb1074.0+5fb1074",
36
+ "@agoric/client-utils": "0.1.1-dev-a67bf28.0+a67bf28",
37
+ "@agoric/cosmic-proto": "0.4.1-dev-a67bf28.0+a67bf28",
38
+ "@agoric/ertp": "0.16.3-dev-a67bf28.0+a67bf28",
39
+ "@agoric/internal": "0.3.3-dev-a67bf28.0+a67bf28",
40
+ "@agoric/notifier": "0.6.3-dev-a67bf28.0+a67bf28",
41
+ "@agoric/orchestration": "0.1.1-dev-a67bf28.0+a67bf28",
42
+ "@agoric/store": "0.9.3-dev-a67bf28.0+a67bf28",
43
+ "@agoric/vat-data": "0.5.3-dev-a67bf28.0+a67bf28",
44
+ "@agoric/vow": "0.1.1-dev-a67bf28.0+a67bf28",
45
+ "@agoric/zoe": "0.26.3-dev-a67bf28.0+a67bf28",
46
46
  "@cosmjs/proto-signing": "^0.32.4",
47
47
  "@cosmjs/stargate": "^0.32.4",
48
48
  "@endo/base64": "^1.0.9",
@@ -82,5 +82,5 @@
82
82
  "publishConfig": {
83
83
  "access": "public"
84
84
  },
85
- "gitHead": "5fb1074c907ab4049321337a5379fa25c79ad237"
85
+ "gitHead": "a67bf2862935b4187f423813cfa327c0fea187b8"
86
86
  }
@@ -339,7 +339,18 @@ export const prepareSettler = (
339
339
  */
340
340
  forward(txHash, fullValue, EUD) {
341
341
  const { settlementAccount, intermediateRecipient } = this.state;
342
- const dest = chainHub.makeChainAddress(EUD);
342
+
343
+ const dest = (() => {
344
+ try {
345
+ return chainHub.makeChainAddress(EUD);
346
+ } catch (e) {
347
+ log('⚠️ forward transfer failed!', e, txHash);
348
+ statusManager.forwarded(txHash, false);
349
+ return null;
350
+ }
351
+ })();
352
+ if (!dest) return;
353
+
343
354
  const txfrV = E(settlementAccount).transfer(
344
355
  dest,
345
356
  AmountMath.make(USDC, fullValue),