@agoric/solo 0.10.3 → 0.10.4-dev-8690eb0.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 +19 -19
- package/src/add-chain.js +1 -0
- package/src/chain-cosmos-sdk.js +0 -3
- package/src/main.js +1 -0
- package/src/pipe-entrypoint.js +1 -0
- package/src/start.js +3 -0
- package/src/vat-http.js +1 -0
- package/src/web.js +1 -0
- package/test/captp-fixture.js +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/solo",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.4-dev-8690eb0.0+8690eb0",
|
|
4
4
|
"description": "Agoric's Solo vat runner",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -22,27 +22,27 @@
|
|
|
22
22
|
"author": "Agoric",
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@agoric/access-token": "
|
|
26
|
-
"@agoric/assert": "
|
|
27
|
-
"@agoric/cache": "
|
|
28
|
-
"@agoric/cosmic-swingset": "
|
|
29
|
-
"@agoric/internal": "
|
|
30
|
-
"@agoric/notifier": "
|
|
31
|
-
"@agoric/spawner": "
|
|
32
|
-
"@agoric/store": "
|
|
33
|
-
"@agoric/swing-store": "
|
|
34
|
-
"@agoric/swingset-vat": "
|
|
35
|
-
"@agoric/telemetry": "
|
|
36
|
-
"@agoric/time": "
|
|
37
|
-
"@agoric/vats": "
|
|
38
|
-
"@agoric/wallet": "
|
|
25
|
+
"@agoric/access-token": "0.4.22-dev-8690eb0.0+8690eb0",
|
|
26
|
+
"@agoric/assert": "0.6.1-dev-8690eb0.0+8690eb0",
|
|
27
|
+
"@agoric/cache": "0.3.3-dev-8690eb0.0+8690eb0",
|
|
28
|
+
"@agoric/cosmic-swingset": "0.41.4-dev-8690eb0.0+8690eb0",
|
|
29
|
+
"@agoric/internal": "0.3.3-dev-8690eb0.0+8690eb0",
|
|
30
|
+
"@agoric/notifier": "0.6.3-dev-8690eb0.0+8690eb0",
|
|
31
|
+
"@agoric/spawner": "0.6.9-dev-8690eb0.0+8690eb0",
|
|
32
|
+
"@agoric/store": "0.9.3-dev-8690eb0.0+8690eb0",
|
|
33
|
+
"@agoric/swing-store": "0.9.2-dev-8690eb0.0+8690eb0",
|
|
34
|
+
"@agoric/swingset-vat": "0.32.3-dev-8690eb0.0+8690eb0",
|
|
35
|
+
"@agoric/telemetry": "0.6.3-dev-8690eb0.0+8690eb0",
|
|
36
|
+
"@agoric/time": "0.3.3-dev-8690eb0.0+8690eb0",
|
|
37
|
+
"@agoric/vats": "0.15.2-dev-8690eb0.0+8690eb0",
|
|
38
|
+
"@agoric/wallet": "0.18.4-dev-8690eb0.0+8690eb0",
|
|
39
39
|
"@endo/captp": "^3.1.1",
|
|
40
40
|
"@endo/eventual-send": "^0.17.2",
|
|
41
41
|
"@endo/import-bundle": "^0.3.4",
|
|
42
42
|
"@endo/init": "^0.5.56",
|
|
43
43
|
"@endo/marshal": "^0.8.5",
|
|
44
44
|
"@endo/promise-kit": "^0.2.56",
|
|
45
|
-
"agoric": "
|
|
45
|
+
"agoric": "0.21.2-dev-8690eb0.0+8690eb0",
|
|
46
46
|
"anylogger": "^0.21.0",
|
|
47
47
|
"deterministic-json": "^1.0.5",
|
|
48
48
|
"esm": "agoric-labs/esm#Agoric-built",
|
|
@@ -57,9 +57,9 @@
|
|
|
57
57
|
"ws": "^7.2.0"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@agoric/ertp": "
|
|
60
|
+
"@agoric/ertp": "0.16.3-dev-8690eb0.0+8690eb0",
|
|
61
61
|
"@endo/bundle-source": "^2.5.1",
|
|
62
|
-
"ava": "^5.
|
|
62
|
+
"ava": "^5.3.0",
|
|
63
63
|
"c8": "^7.13.0"
|
|
64
64
|
},
|
|
65
65
|
"publishConfig": {
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"timeout": "20m",
|
|
76
76
|
"workerThreads": false
|
|
77
77
|
},
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "8690eb03ffd4afcc288f1a2a6b677e8d380a6334"
|
|
79
79
|
}
|
package/src/add-chain.js
CHANGED
|
@@ -29,6 +29,7 @@ async function addChain(basedir, chainConfig, force = false) {
|
|
|
29
29
|
const url = new URL(actualConfig, `file://${process.cwd()}`);
|
|
30
30
|
console.log('downloading netconfig from', url.href);
|
|
31
31
|
let netconf;
|
|
32
|
+
await null;
|
|
32
33
|
if (url.protocol === 'file:') {
|
|
33
34
|
const f = fs.readFileSync(url.pathname, 'utf-8');
|
|
34
35
|
netconf = JSON.parse(f);
|
package/src/chain-cosmos-sdk.js
CHANGED
|
@@ -177,7 +177,6 @@ export async function connectToChain(
|
|
|
177
177
|
const thisRpcHref = rpcHrefs[rpcHrefIndex];
|
|
178
178
|
|
|
179
179
|
// tryOnce will either throw if cancelled (which rejects this promise),
|
|
180
|
-
// eslint-disable-next-line no-await-in-loop
|
|
181
180
|
const ret = await tryOnce(thisRpcHref);
|
|
182
181
|
if (ret !== undefined) {
|
|
183
182
|
// Or returns non-undefined, which we should resolve.
|
|
@@ -186,7 +185,6 @@ export async function connectToChain(
|
|
|
186
185
|
}
|
|
187
186
|
|
|
188
187
|
// It was undefined, so wait, then retry.
|
|
189
|
-
// eslint-disable-next-line no-await-in-loop
|
|
190
188
|
await new Promise(resolve => setTimeout(resolve, 5000));
|
|
191
189
|
rpcHrefIndex = (rpcHrefIndex + 1) % rpcHrefs.length;
|
|
192
190
|
}
|
|
@@ -661,7 +659,6 @@ ${chainID} chain does not yet know of address ${clientAddr}${adviseEgress(
|
|
|
661
659
|
let retry = true;
|
|
662
660
|
for await (const _ of whileTrue(() => retry)) {
|
|
663
661
|
retry = false;
|
|
664
|
-
// eslint-disable-next-line no-await-in-loop
|
|
665
662
|
const { stderr, stdout } = await runHelper([
|
|
666
663
|
...txArgs,
|
|
667
664
|
`--sequence=${sequenceNumber}`,
|
package/src/main.js
CHANGED
package/src/pipe-entrypoint.js
CHANGED
package/src/start.js
CHANGED
|
@@ -262,6 +262,7 @@ const buildSwingset = async (
|
|
|
262
262
|
async function deliverInboundToMbx(sender, messages, ack) {
|
|
263
263
|
Array.isArray(messages) || Fail`inbound given non-Array: ${messages}`;
|
|
264
264
|
// console.debug(`deliverInboundToMbx`, messages, ack);
|
|
265
|
+
await null;
|
|
265
266
|
if (mb.deliverInbound(sender, messages, ack)) {
|
|
266
267
|
await processKernel();
|
|
267
268
|
}
|
|
@@ -316,6 +317,7 @@ const buildSwingset = async (
|
|
|
316
317
|
const queuedMoveTimeForward = withInputQueue(
|
|
317
318
|
async function moveTimeForward() {
|
|
318
319
|
const now = Date.now();
|
|
320
|
+
await null;
|
|
319
321
|
try {
|
|
320
322
|
if (timer.poll(now)) {
|
|
321
323
|
await processKernel();
|
|
@@ -489,6 +491,7 @@ const start = async (basedir, argv) => {
|
|
|
489
491
|
let hostport;
|
|
490
492
|
await Promise.all(
|
|
491
493
|
connections.map(async c => {
|
|
494
|
+
await null;
|
|
492
495
|
switch (c.type) {
|
|
493
496
|
case 'chain-cosmos-sdk':
|
|
494
497
|
{
|
package/src/vat-http.js
CHANGED
package/src/web.js
CHANGED
package/test/captp-fixture.js
CHANGED
|
@@ -65,7 +65,6 @@ export async function makeFixture(PORT, noisy = false) {
|
|
|
65
65
|
let lastUpdateCount;
|
|
66
66
|
for (;;) {
|
|
67
67
|
process.stdout.write('o');
|
|
68
|
-
// eslint-disable-next-line no-await-in-loop
|
|
69
68
|
const update = await E(E.get(bootP).loadingNotifier).getUpdateSince(
|
|
70
69
|
lastUpdateCount,
|
|
71
70
|
);
|