@agoric/orchestration 0.1.1-dev-921f991.0 → 0.1.1-dev-af84c3d.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/orchestration",
|
|
3
|
-
"version": "0.1.1-dev-
|
|
3
|
+
"version": "0.1.1-dev-af84c3d.0+af84c3d",
|
|
4
4
|
"description": "Chain abstraction for Agoric's orchestration clients",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -33,19 +33,19 @@
|
|
|
33
33
|
},
|
|
34
34
|
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@agoric/async-flow": "0.1.1-dev-
|
|
37
|
-
"@agoric/cosmic-proto": "0.4.1-dev-
|
|
38
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
39
|
-
"@agoric/internal": "0.3.3-dev-
|
|
40
|
-
"@agoric/network": "0.1.1-dev-
|
|
41
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
42
|
-
"@agoric/store": "0.9.3-dev-
|
|
43
|
-
"@agoric/time": "0.3.3-dev-
|
|
44
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
45
|
-
"@agoric/vats": "0.15.2-dev-
|
|
46
|
-
"@agoric/vow": "0.1.1-dev-
|
|
47
|
-
"@agoric/zoe": "0.26.3-dev-
|
|
48
|
-
"@agoric/zone": "0.2.3-dev-
|
|
36
|
+
"@agoric/async-flow": "0.1.1-dev-af84c3d.0+af84c3d",
|
|
37
|
+
"@agoric/cosmic-proto": "0.4.1-dev-af84c3d.0+af84c3d",
|
|
38
|
+
"@agoric/ertp": "0.16.3-dev-af84c3d.0+af84c3d",
|
|
39
|
+
"@agoric/internal": "0.3.3-dev-af84c3d.0+af84c3d",
|
|
40
|
+
"@agoric/network": "0.1.1-dev-af84c3d.0+af84c3d",
|
|
41
|
+
"@agoric/notifier": "0.6.3-dev-af84c3d.0+af84c3d",
|
|
42
|
+
"@agoric/store": "0.9.3-dev-af84c3d.0+af84c3d",
|
|
43
|
+
"@agoric/time": "0.3.3-dev-af84c3d.0+af84c3d",
|
|
44
|
+
"@agoric/vat-data": "0.5.3-dev-af84c3d.0+af84c3d",
|
|
45
|
+
"@agoric/vats": "0.15.2-dev-af84c3d.0+af84c3d",
|
|
46
|
+
"@agoric/vow": "0.1.1-dev-af84c3d.0+af84c3d",
|
|
47
|
+
"@agoric/zoe": "0.26.3-dev-af84c3d.0+af84c3d",
|
|
48
|
+
"@agoric/zone": "0.2.3-dev-af84c3d.0+af84c3d",
|
|
49
49
|
"@cosmjs/encoding": "^0.32.4",
|
|
50
50
|
"@endo/base64": "^1.0.9",
|
|
51
51
|
"@endo/errors": "^1.2.10",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"bs58": "^6.0.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@agoric/swingset-liveslots": "0.10.3-dev-
|
|
59
|
+
"@agoric/swingset-liveslots": "0.10.3-dev-af84c3d.0+af84c3d",
|
|
60
60
|
"@chain-registry/client": "^1.47.4",
|
|
61
61
|
"@cosmjs/amino": "^0.33.0",
|
|
62
62
|
"@cosmjs/proto-signing": "^0.33.0",
|
|
@@ -99,5 +99,5 @@
|
|
|
99
99
|
"typeCoverage": {
|
|
100
100
|
"atLeast": 97.84
|
|
101
101
|
},
|
|
102
|
-
"gitHead": "
|
|
102
|
+
"gitHead": "af84c3dd193927ac603a4e99fd209f697c5186de"
|
|
103
103
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ibc-packet.d.ts","sourceRoot":"","sources":["ibc-packet.js"],"names":[],"mappings":"AAMA,4CAA6C,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"ibc-packet.d.ts","sourceRoot":"","sources":["ibc-packet.js"],"names":[],"mappings":"AAMA,4CAA6C,MAAM,CAAC;AAqB7C,gDAHI,GAAG,GACD,OAAO,CAgCnB;AAOM,+CAHI,OAAO,mBAAmB,EAAE,IAAI,8BAChC,QAAQ,GAAG;IAAE,eAAe,EAAE,eAAe,CAAA;CAAE,IA+FhD,GAAG,MAFA,UAAU;eA3EH,iBAAiB,CAAC,WAAW,CAAC;;;;;;;;;;;QAoB1C;;;;;;;;;;;WAWG;oCARQ,CACV,SACA,WACA,UAAkB,2CAA2C,CAAC,CACvD,CACF,CACF,OACO,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;;;;;;;;GA+CrB;;;;;GAChB;AAOM,yCAHI,OAAO,mBAAmB,EAAE,IAAI,YAChC,QAAQ,wBAyBN,OAAO,UACP,IAAI,GAAG,CAAC,QACR,aAAa;;;EAmBzB;AAQM,sCAHI,OAAO,mBAAmB,EAAE,IAAI,YAChC,QAAQ;;mBAvIC,iBAAiB,CAAC,WAAW,CAAC;;;;;;;;;0CA4GrC,OAAO,UACP,IAAI,GAAG,CAAC,QACR,aAAa;;;;EAkCzB;8BAba,UAAU,CAAC,OAAO,kBAAkB,CAAC;6BAxMpB,gBAAgB;8BAEf,aAAa;yBAAb,aAAa;uCACT,gCAAgC;+BAFlB,sBAAsB;gCAAtB,sBAAsB;8BAAtB,sBAAsB;mCAGxC,mBAAmB"}
|
package/src/exos/ibc-packet.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { assertAllDefined } from '@agoric/internal';
|
|
1
|
+
import { assertAllDefined, makeTracer } from '@agoric/internal';
|
|
2
2
|
import { base64ToBytes, Shape as NetworkShape } from '@agoric/network';
|
|
3
3
|
import { M } from '@endo/patterns';
|
|
4
4
|
import { E } from '@endo/far';
|
|
@@ -6,6 +6,8 @@ import { E } from '@endo/far';
|
|
|
6
6
|
// As specified in ICS20, the success result is a base64-encoded '\0x1' byte.
|
|
7
7
|
export const ICS20_TRANSFER_SUCCESS_RESULT = 'AQ==';
|
|
8
8
|
|
|
9
|
+
const trace = makeTracer('IBCP');
|
|
10
|
+
|
|
9
11
|
/**
|
|
10
12
|
* @import {Key, Pattern} from '@endo/patterns';
|
|
11
13
|
* @import {JsonSafe, TypedJson, ResponseTo} from '@agoric/cosmic-proto';
|
|
@@ -112,6 +114,10 @@ export const prepareIBCTransferSender = (zone, { watch, makeIBCReplyKit }) => {
|
|
|
112
114
|
const { match } = ctx;
|
|
113
115
|
const { transferMsg } = this.state;
|
|
114
116
|
|
|
117
|
+
// sequence + sourceChannel uniquely identifies a transfer.
|
|
118
|
+
// trace with receiver etc. for forensics
|
|
119
|
+
trace('sequence', sequence, transferMsg);
|
|
120
|
+
|
|
115
121
|
// Match the port/channel and sequence number.
|
|
116
122
|
const replyPacketPattern = M.splitRecord({
|
|
117
123
|
source_port: transferMsg.sourcePort,
|
package/src/exos/packet-tools.js
CHANGED