@agoric/solo 0.10.4-dev-0752cec.0 → 0.10.4-dev-940d3f0.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 +17 -17
- package/src/add-chain.js +1 -1
- package/src/chain-cosmos-sdk.js +4 -4
- package/src/init-basedir.js +1 -1
- package/src/main.js +1 -1
- package/src/outbound.js +1 -1
- package/src/pipe-entrypoint.js +3 -2
- package/src/start.js +1 -1
- package/src/vat-http.js +5 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/solo",
|
|
3
|
-
"version": "0.10.4-dev-
|
|
3
|
+
"version": "0.10.4-dev-940d3f0.0+940d3f0",
|
|
4
4
|
"description": "Agoric's Solo vat runner",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -22,21 +22,21 @@
|
|
|
22
22
|
"author": "Agoric",
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@agoric/access-token": "0.4.22-dev-
|
|
26
|
-
"@agoric/
|
|
27
|
-
"@agoric/
|
|
28
|
-
"@agoric/
|
|
29
|
-
"@agoric/
|
|
30
|
-
"@agoric/
|
|
31
|
-
"@agoric/
|
|
32
|
-
"@agoric/store": "0.9.
|
|
33
|
-
"@agoric/
|
|
34
|
-
"@agoric/
|
|
35
|
-
"@agoric/
|
|
36
|
-
"@agoric/
|
|
37
|
-
"@agoric/
|
|
38
|
-
"@agoric/wallet": "0.18.4-dev-0752cec.0+0752cec",
|
|
25
|
+
"@agoric/access-token": "0.4.22-dev-940d3f0.0+940d3f0",
|
|
26
|
+
"@agoric/cache": "0.3.3-dev-940d3f0.0+940d3f0",
|
|
27
|
+
"@agoric/cosmic-swingset": "0.41.4-dev-940d3f0.0+940d3f0",
|
|
28
|
+
"@agoric/internal": "0.3.3-dev-940d3f0.0+940d3f0",
|
|
29
|
+
"@agoric/notifier": "0.6.3-dev-940d3f0.0+940d3f0",
|
|
30
|
+
"@agoric/spawner": "0.6.9-dev-940d3f0.0+940d3f0",
|
|
31
|
+
"@agoric/store": "0.9.3-dev-940d3f0.0+940d3f0",
|
|
32
|
+
"@agoric/swing-store": "0.9.2-dev-940d3f0.0+940d3f0",
|
|
33
|
+
"@agoric/swingset-vat": "0.32.3-dev-940d3f0.0+940d3f0",
|
|
34
|
+
"@agoric/telemetry": "0.6.3-dev-940d3f0.0+940d3f0",
|
|
35
|
+
"@agoric/time": "0.3.3-dev-940d3f0.0+940d3f0",
|
|
36
|
+
"@agoric/vats": "0.15.2-dev-940d3f0.0+940d3f0",
|
|
37
|
+
"@agoric/wallet": "0.18.4-dev-940d3f0.0+940d3f0",
|
|
39
38
|
"@endo/captp": "^4.2.0",
|
|
39
|
+
"@endo/errors": "^1.2.2",
|
|
40
40
|
"@endo/eventual-send": "^1.2.2",
|
|
41
41
|
"@endo/import-bundle": "^1.1.2",
|
|
42
42
|
"@endo/init": "^1.1.2",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"ws": "^7.2.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
59
|
+
"@agoric/ertp": "0.16.3-dev-940d3f0.0+940d3f0",
|
|
60
60
|
"@endo/bundle-source": "^3.2.3",
|
|
61
61
|
"ava": "^5.3.0",
|
|
62
62
|
"c8": "^9.1.0"
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"typeCoverage": {
|
|
81
81
|
"atLeast": 73.11
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "940d3f0a993ca45a6bb0893bd59e6df1f22d9143"
|
|
84
84
|
}
|
package/src/add-chain.js
CHANGED
|
@@ -5,7 +5,7 @@ import djson from 'deterministic-json';
|
|
|
5
5
|
import path from 'path';
|
|
6
6
|
import fs from 'fs';
|
|
7
7
|
|
|
8
|
-
import { Fail } from '@
|
|
8
|
+
import { Fail } from '@endo/errors';
|
|
9
9
|
import setGCIIngress from './set-gci-ingress.js';
|
|
10
10
|
|
|
11
11
|
const DEFAULT_CHAIN_CONFIG = 'https://testnet.agoric.com/network-config';
|
package/src/chain-cosmos-sdk.js
CHANGED
|
@@ -8,10 +8,10 @@ import { open as tempOpen } from 'temp';
|
|
|
8
8
|
import WebSocket from 'ws';
|
|
9
9
|
|
|
10
10
|
import anylogger from 'anylogger';
|
|
11
|
-
import {
|
|
11
|
+
import { Fail, makeError } from '@endo/errors';
|
|
12
12
|
import { makePromiseKit } from '@endo/promise-kit';
|
|
13
13
|
|
|
14
|
-
import {
|
|
14
|
+
import { makeNotifierKit } from '@agoric/notifier';
|
|
15
15
|
import {
|
|
16
16
|
DEFAULT_BATCH_TIMEOUT_MS,
|
|
17
17
|
makeBatchedDeliver,
|
|
@@ -697,13 +697,13 @@ ${chainID} chain does not yet know of address ${clientAddr}${adviseEgress(
|
|
|
697
697
|
if (txResult.code) {
|
|
698
698
|
// eslint-disable-next-line no-use-before-define
|
|
699
699
|
failedSend(
|
|
700
|
-
|
|
700
|
+
makeError(`Error in tx processing: ${txResult.log}`),
|
|
701
701
|
);
|
|
702
702
|
}
|
|
703
703
|
})
|
|
704
704
|
.catch(err =>
|
|
705
705
|
// eslint-disable-next-line no-use-before-define
|
|
706
|
-
failedSend(
|
|
706
|
+
failedSend(makeError(`Error in tx processing: ${err}`)),
|
|
707
707
|
);
|
|
708
708
|
|
|
709
709
|
// We submitted the transaction to the mempool successfully.
|
package/src/init-basedir.js
CHANGED
|
@@ -4,7 +4,7 @@ import fs from 'fs';
|
|
|
4
4
|
import path from 'path';
|
|
5
5
|
import { execFileSync } from 'child_process';
|
|
6
6
|
|
|
7
|
-
import { assert,
|
|
7
|
+
import { assert, X } from '@endo/errors';
|
|
8
8
|
import anylogger from 'anylogger';
|
|
9
9
|
import { HELPER } from './chain-cosmos-sdk.js';
|
|
10
10
|
|
package/src/main.js
CHANGED
package/src/outbound.js
CHANGED
package/src/pipe-entrypoint.js
CHANGED
|
@@ -3,8 +3,9 @@
|
|
|
3
3
|
import '@endo/init/pre-bundle-source.js';
|
|
4
4
|
import '@endo/init/unsafe-fast.js';
|
|
5
5
|
|
|
6
|
-
import {
|
|
6
|
+
import { makeError } from '@endo/errors';
|
|
7
7
|
import { makePromiseKit } from '@endo/promise-kit';
|
|
8
|
+
import { parse, stringify } from '@endo/marshal';
|
|
8
9
|
|
|
9
10
|
import '@agoric/cosmic-swingset/src/anylogger-agoric.js';
|
|
10
11
|
import { connectToFakeChain } from '@agoric/cosmic-swingset/src/sim-chain.js';
|
|
@@ -52,7 +53,7 @@ const main = async () => {
|
|
|
52
53
|
break;
|
|
53
54
|
}
|
|
54
55
|
default: {
|
|
55
|
-
|
|
56
|
+
makeError(`unknown method ${method}`);
|
|
56
57
|
}
|
|
57
58
|
}
|
|
58
59
|
|
package/src/start.js
CHANGED
|
@@ -16,7 +16,7 @@ import anylogger from 'anylogger';
|
|
|
16
16
|
// import connect from 'lotion-connect';
|
|
17
17
|
// import djson from 'deterministic-json';
|
|
18
18
|
|
|
19
|
-
import { assert, Fail } from '@
|
|
19
|
+
import { assert, Fail } from '@endo/errors';
|
|
20
20
|
import { makeSlogSender, tryFlushSlogSender } from '@agoric/telemetry';
|
|
21
21
|
import {
|
|
22
22
|
loadSwingsetConfigFile,
|
package/src/vat-http.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { makeCache } from '@agoric/cache';
|
|
1
|
+
import { Fail } from '@endo/errors';
|
|
3
2
|
import { E } from '@endo/eventual-send';
|
|
3
|
+
import { makePromiseKit } from '@endo/promise-kit';
|
|
4
4
|
import { Far } from '@endo/marshal';
|
|
5
|
-
|
|
5
|
+
|
|
6
|
+
import { makeNotifierKit } from '@agoric/notifier';
|
|
7
|
+
import { makeCache } from '@agoric/cache';
|
|
6
8
|
import { getReplHandler } from '@agoric/vats/src/repl.js';
|
|
7
|
-
import { makePromiseKit } from '@endo/promise-kit';
|
|
8
9
|
import { getCapTPHandler } from './captp.js';
|
|
9
10
|
|
|
10
11
|
// This vat contains the HTTP request handler.
|