@agoric/solo 0.10.3-dev-69236fd.0 → 0.10.3
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 +8 -0
- package/package.json +18 -18
- package/src/add-chain.js +0 -1
- package/src/chain-cosmos-sdk.js +3 -0
- package/src/main.js +0 -1
- package/src/pipe-entrypoint.js +0 -1
- package/src/start.js +0 -3
- package/src/vat-http.js +0 -1
- package/src/web.js +0 -1
- package/test/captp-fixture.js +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
### [0.10.3](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.10.2...@agoric/solo@0.10.3) (2023-06-09)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @agoric/solo
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
### [0.10.2](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.10.1...@agoric/solo@0.10.2) (2023-06-02)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @agoric/solo
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/solo",
|
|
3
|
-
"version": "0.10.3
|
|
3
|
+
"version": "0.10.3",
|
|
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": "0.4.
|
|
26
|
-
"@agoric/assert": "0.6.
|
|
27
|
-
"@agoric/cache": "0.3.
|
|
28
|
-
"@agoric/cosmic-swingset": "0.41.3
|
|
29
|
-
"@agoric/internal": "0.3.
|
|
30
|
-
"@agoric/notifier": "0.6.
|
|
31
|
-
"@agoric/spawner": "0.6.
|
|
32
|
-
"@agoric/store": "0.9.
|
|
33
|
-
"@agoric/swing-store": "0.9.
|
|
34
|
-
"@agoric/swingset-vat": "0.32.
|
|
35
|
-
"@agoric/telemetry": "0.6.
|
|
36
|
-
"@agoric/time": "0.3.
|
|
37
|
-
"@agoric/vats": "0.15.1
|
|
38
|
-
"@agoric/wallet": "0.18.3
|
|
25
|
+
"@agoric/access-token": "^0.4.21",
|
|
26
|
+
"@agoric/assert": "^0.6.0",
|
|
27
|
+
"@agoric/cache": "^0.3.2",
|
|
28
|
+
"@agoric/cosmic-swingset": "^0.41.3",
|
|
29
|
+
"@agoric/internal": "^0.3.2",
|
|
30
|
+
"@agoric/notifier": "^0.6.2",
|
|
31
|
+
"@agoric/spawner": "^0.6.8",
|
|
32
|
+
"@agoric/store": "^0.9.2",
|
|
33
|
+
"@agoric/swing-store": "^0.9.1",
|
|
34
|
+
"@agoric/swingset-vat": "^0.32.2",
|
|
35
|
+
"@agoric/telemetry": "^0.6.2",
|
|
36
|
+
"@agoric/time": "^0.3.2",
|
|
37
|
+
"@agoric/vats": "^0.15.1",
|
|
38
|
+
"@agoric/wallet": "^0.18.3",
|
|
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": "0.21.1
|
|
45
|
+
"agoric": "^0.21.1",
|
|
46
46
|
"anylogger": "^0.21.0",
|
|
47
47
|
"deterministic-json": "^1.0.5",
|
|
48
48
|
"esm": "agoric-labs/esm#Agoric-built",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"ws": "^7.2.0"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@agoric/ertp": "0.16.
|
|
60
|
+
"@agoric/ertp": "^0.16.2",
|
|
61
61
|
"@endo/bundle-source": "^2.5.1",
|
|
62
62
|
"ava": "^5.2.0",
|
|
63
63
|
"c8": "^7.13.0"
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"timeout": "20m",
|
|
76
76
|
"workerThreads": false
|
|
77
77
|
},
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "ba3b776444425bbcb275ce918794d9259f8e15da"
|
|
79
79
|
}
|
package/src/add-chain.js
CHANGED
|
@@ -29,7 +29,6 @@ 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;
|
|
33
32
|
if (url.protocol === 'file:') {
|
|
34
33
|
const f = fs.readFileSync(url.pathname, 'utf-8');
|
|
35
34
|
netconf = JSON.parse(f);
|
package/src/chain-cosmos-sdk.js
CHANGED
|
@@ -177,6 +177,7 @@ 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
|
|
180
181
|
const ret = await tryOnce(thisRpcHref);
|
|
181
182
|
if (ret !== undefined) {
|
|
182
183
|
// Or returns non-undefined, which we should resolve.
|
|
@@ -185,6 +186,7 @@ export async function connectToChain(
|
|
|
185
186
|
}
|
|
186
187
|
|
|
187
188
|
// It was undefined, so wait, then retry.
|
|
189
|
+
// eslint-disable-next-line no-await-in-loop
|
|
188
190
|
await new Promise(resolve => setTimeout(resolve, 5000));
|
|
189
191
|
rpcHrefIndex = (rpcHrefIndex + 1) % rpcHrefs.length;
|
|
190
192
|
}
|
|
@@ -659,6 +661,7 @@ ${chainID} chain does not yet know of address ${clientAddr}${adviseEgress(
|
|
|
659
661
|
let retry = true;
|
|
660
662
|
for await (const _ of whileTrue(() => retry)) {
|
|
661
663
|
retry = false;
|
|
664
|
+
// eslint-disable-next-line no-await-in-loop
|
|
662
665
|
const { stderr, stdout } = await runHelper([
|
|
663
666
|
...txArgs,
|
|
664
667
|
`--sequence=${sequenceNumber}`,
|
package/src/main.js
CHANGED
package/src/pipe-entrypoint.js
CHANGED
package/src/start.js
CHANGED
|
@@ -262,7 +262,6 @@ 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;
|
|
266
265
|
if (mb.deliverInbound(sender, messages, ack)) {
|
|
267
266
|
await processKernel();
|
|
268
267
|
}
|
|
@@ -317,7 +316,6 @@ const buildSwingset = async (
|
|
|
317
316
|
const queuedMoveTimeForward = withInputQueue(
|
|
318
317
|
async function moveTimeForward() {
|
|
319
318
|
const now = Date.now();
|
|
320
|
-
await null;
|
|
321
319
|
try {
|
|
322
320
|
if (timer.poll(now)) {
|
|
323
321
|
await processKernel();
|
|
@@ -491,7 +489,6 @@ const start = async (basedir, argv) => {
|
|
|
491
489
|
let hostport;
|
|
492
490
|
await Promise.all(
|
|
493
491
|
connections.map(async c => {
|
|
494
|
-
await null;
|
|
495
492
|
switch (c.type) {
|
|
496
493
|
case 'chain-cosmos-sdk':
|
|
497
494
|
{
|
package/src/vat-http.js
CHANGED
package/src/web.js
CHANGED
package/test/captp-fixture.js
CHANGED
|
@@ -65,6 +65,7 @@ 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
|
|
68
69
|
const update = await E(E.get(bootP).loadingNotifier).getUpdateSince(
|
|
69
70
|
lastUpdateCount,
|
|
70
71
|
);
|