@agoric/orchestration 0.1.1-dev-e468caa.0 → 0.1.1-dev-2aba395.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-2aba395.0+2aba395",
|
|
4
4
|
"description": "Chain abstraction for Agoric's orchestration clients",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -29,17 +29,17 @@
|
|
|
29
29
|
},
|
|
30
30
|
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@agoric/assert": "0.6.1-dev-
|
|
33
|
-
"@agoric/cosmic-proto": "0.4.1-dev-
|
|
34
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
35
|
-
"@agoric/internal": "0.3.3-dev-
|
|
36
|
-
"@agoric/network": "0.1.1-dev-
|
|
37
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
38
|
-
"@agoric/store": "0.9.3-dev-
|
|
39
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
40
|
-
"@agoric/vats": "0.15.2-dev-
|
|
41
|
-
"@agoric/zoe": "0.26.3-dev-
|
|
42
|
-
"@agoric/zone": "0.2.3-dev-
|
|
32
|
+
"@agoric/assert": "0.6.1-dev-2aba395.0+2aba395",
|
|
33
|
+
"@agoric/cosmic-proto": "0.4.1-dev-2aba395.0+2aba395",
|
|
34
|
+
"@agoric/ertp": "0.16.3-dev-2aba395.0+2aba395",
|
|
35
|
+
"@agoric/internal": "0.3.3-dev-2aba395.0+2aba395",
|
|
36
|
+
"@agoric/network": "0.1.1-dev-2aba395.0+2aba395",
|
|
37
|
+
"@agoric/notifier": "0.6.3-dev-2aba395.0+2aba395",
|
|
38
|
+
"@agoric/store": "0.9.3-dev-2aba395.0+2aba395",
|
|
39
|
+
"@agoric/vat-data": "0.5.3-dev-2aba395.0+2aba395",
|
|
40
|
+
"@agoric/vats": "0.15.2-dev-2aba395.0+2aba395",
|
|
41
|
+
"@agoric/zoe": "0.26.3-dev-2aba395.0+2aba395",
|
|
42
|
+
"@agoric/zone": "0.2.3-dev-2aba395.0+2aba395",
|
|
43
43
|
"@endo/base64": "^1.0.4",
|
|
44
44
|
"@endo/far": "^1.1.1",
|
|
45
45
|
"@endo/marshal": "^1.4.1",
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"typeCoverage": {
|
|
83
83
|
"atLeast": 96.96
|
|
84
84
|
},
|
|
85
|
-
"gitHead": "
|
|
85
|
+
"gitHead": "2aba3956deb9130eba8f9dc926fdf52aea047ef6"
|
|
86
86
|
}
|
package/src/orchestration.js
CHANGED
|
@@ -209,7 +209,7 @@ const prepareOrchestration = (zone, createChainAccount) =>
|
|
|
209
209
|
self: {
|
|
210
210
|
async bindPort() {
|
|
211
211
|
const network = getPower(this.state.powers, 'network');
|
|
212
|
-
const port = await E(network).
|
|
212
|
+
const port = await E(network).bindPort(
|
|
213
213
|
`/ibc-port/icacontroller-${this.state.icaControllerNonce}`,
|
|
214
214
|
);
|
|
215
215
|
this.state.icaControllerNonce += 1;
|
|
@@ -49,8 +49,8 @@ export const setupOrchestrationVat = async (
|
|
|
49
49
|
/** @type {AttenuatedNetwork} */
|
|
50
50
|
const network = Far('Attenuated Network', {
|
|
51
51
|
/** @param {string} localAddr */
|
|
52
|
-
async
|
|
53
|
-
return E(networkVat).
|
|
52
|
+
async bindPort(localAddr) {
|
|
53
|
+
return E(networkVat).bindPort(localAddr);
|
|
54
54
|
},
|
|
55
55
|
});
|
|
56
56
|
|
package/src/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { RouterProtocol } from '@agoric/network/src/router';
|
|
2
2
|
|
|
3
|
-
export type AttenuatedNetwork = Pick<RouterProtocol, '
|
|
3
|
+
export type AttenuatedNetwork = Pick<RouterProtocol, 'bindPort'>;
|
|
4
4
|
|
|
5
5
|
export type * from './orchestration.js';
|
|
6
6
|
export type * from './vat-orchestration.js';
|