agoric 0.21.2-dev-4f0e6fd.0 → 0.21.2-dev-4e35598.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 +20 -20
- package/src/commands/perf.js +8 -9
- package/src/commands/wallet.js +5 -7
- package/src/follow.js +8 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agoric",
|
|
3
|
-
"version": "0.21.2-dev-
|
|
3
|
+
"version": "0.21.2-dev-4e35598.0+4e35598",
|
|
4
4
|
"description": "Manage the Agoric Javascript smart contract platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/main.js",
|
|
@@ -30,28 +30,28 @@
|
|
|
30
30
|
"lint:eslint": "eslint ."
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@agoric/cosmic-swingset": "0.41.4-dev-
|
|
34
|
-
"@agoric/deploy-script-support": "0.10.4-dev-
|
|
33
|
+
"@agoric/cosmic-swingset": "0.41.4-dev-4e35598.0+4e35598",
|
|
34
|
+
"@agoric/deploy-script-support": "0.10.4-dev-4e35598.0+4e35598",
|
|
35
35
|
"ava": "^5.3.0",
|
|
36
36
|
"c8": "^10.1.2"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@agoric/access-token": "0.4.22-dev-
|
|
40
|
-
"@agoric/cache": "0.3.3-dev-
|
|
41
|
-
"@agoric/casting": "0.4.3-dev-
|
|
42
|
-
"@agoric/client-utils": "0.1.1-dev-
|
|
43
|
-
"@agoric/cosmic-proto": "0.4.1-dev-
|
|
44
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
45
|
-
"@agoric/governance": "0.10.4-dev-
|
|
46
|
-
"@agoric/inter-protocol": "0.16.2-dev-
|
|
47
|
-
"@agoric/internal": "0.3.3-dev-
|
|
48
|
-
"@agoric/network": "0.1.1-dev-
|
|
49
|
-
"@agoric/smart-wallet": "0.5.4-dev-
|
|
50
|
-
"@agoric/store": "0.9.3-dev-
|
|
51
|
-
"@agoric/swingset-vat": "0.32.3-dev-
|
|
52
|
-
"@agoric/vats": "0.15.2-dev-
|
|
53
|
-
"@agoric/zoe": "0.26.3-dev-
|
|
54
|
-
"@agoric/zone": "0.2.3-dev-
|
|
39
|
+
"@agoric/access-token": "0.4.22-dev-4e35598.0+4e35598",
|
|
40
|
+
"@agoric/cache": "0.3.3-dev-4e35598.0+4e35598",
|
|
41
|
+
"@agoric/casting": "0.4.3-dev-4e35598.0+4e35598",
|
|
42
|
+
"@agoric/client-utils": "0.1.1-dev-4e35598.0+4e35598",
|
|
43
|
+
"@agoric/cosmic-proto": "0.4.1-dev-4e35598.0+4e35598",
|
|
44
|
+
"@agoric/ertp": "0.16.3-dev-4e35598.0+4e35598",
|
|
45
|
+
"@agoric/governance": "0.10.4-dev-4e35598.0+4e35598",
|
|
46
|
+
"@agoric/inter-protocol": "0.16.2-dev-4e35598.0+4e35598",
|
|
47
|
+
"@agoric/internal": "0.3.3-dev-4e35598.0+4e35598",
|
|
48
|
+
"@agoric/network": "0.1.1-dev-4e35598.0+4e35598",
|
|
49
|
+
"@agoric/smart-wallet": "0.5.4-dev-4e35598.0+4e35598",
|
|
50
|
+
"@agoric/store": "0.9.3-dev-4e35598.0+4e35598",
|
|
51
|
+
"@agoric/swingset-vat": "0.32.3-dev-4e35598.0+4e35598",
|
|
52
|
+
"@agoric/vats": "0.15.2-dev-4e35598.0+4e35598",
|
|
53
|
+
"@agoric/zoe": "0.26.3-dev-4e35598.0+4e35598",
|
|
54
|
+
"@agoric/zone": "0.2.3-dev-4e35598.0+4e35598",
|
|
55
55
|
"@cosmjs/crypto": "^0.33.0",
|
|
56
56
|
"@cosmjs/encoding": "^0.33.0",
|
|
57
57
|
"@cosmjs/math": "^0.33.0",
|
|
@@ -101,5 +101,5 @@
|
|
|
101
101
|
"typeCoverage": {
|
|
102
102
|
"atLeast": 79.15
|
|
103
103
|
},
|
|
104
|
-
"gitHead": "
|
|
104
|
+
"gitHead": "4e35598f3381fbd4515b86d3e20976bb91cab43a"
|
|
105
105
|
}
|
package/src/commands/perf.js
CHANGED
|
@@ -64,15 +64,13 @@ export const makePerfCommand = logger => {
|
|
|
64
64
|
|
|
65
65
|
const spec = `:published.wallet.${opts.from}`;
|
|
66
66
|
|
|
67
|
-
const leaderOptions = makeLeaderOptions({
|
|
68
|
-
sleep: SLEEP_SECONDS,
|
|
69
|
-
jitter: 0,
|
|
70
|
-
log: () => undefined,
|
|
71
|
-
});
|
|
72
|
-
|
|
73
67
|
const leader = makeLeaderFromRpcAddresses(
|
|
74
68
|
networkConfig.rpcAddrs,
|
|
75
|
-
|
|
69
|
+
makeLeaderOptions({
|
|
70
|
+
sleep: SLEEP_SECONDS,
|
|
71
|
+
jitter: 0,
|
|
72
|
+
log: console.warn,
|
|
73
|
+
}),
|
|
76
74
|
);
|
|
77
75
|
|
|
78
76
|
logger.warn('Following', spec);
|
|
@@ -87,9 +85,10 @@ export const makePerfCommand = logger => {
|
|
|
87
85
|
if (status.error) {
|
|
88
86
|
console.error(status.error);
|
|
89
87
|
exit(1);
|
|
90
|
-
} else if (status.numWantsSatisfied)
|
|
88
|
+
} else if (status.numWantsSatisfied) {
|
|
91
89
|
process.stdout.write(`satisfied: ${status.numWantsSatisfied}\n`);
|
|
92
|
-
|
|
90
|
+
exit(0);
|
|
91
|
+
}
|
|
93
92
|
}
|
|
94
93
|
}
|
|
95
94
|
};
|
package/src/commands/wallet.js
CHANGED
|
@@ -278,15 +278,13 @@ export const makeWalletCommand = async command => {
|
|
|
278
278
|
.action(async function ({ from }) {
|
|
279
279
|
const spec = `:published.wallet.${from}`;
|
|
280
280
|
|
|
281
|
-
const leaderOptions = makeLeaderOptions({
|
|
282
|
-
sleep: SLEEP_SECONDS,
|
|
283
|
-
jitter: 0,
|
|
284
|
-
log: () => undefined,
|
|
285
|
-
});
|
|
286
|
-
|
|
287
281
|
const leader = makeLeaderFromRpcAddresses(
|
|
288
282
|
networkConfig.rpcAddrs,
|
|
289
|
-
|
|
283
|
+
makeLeaderOptions({
|
|
284
|
+
sleep: SLEEP_SECONDS,
|
|
285
|
+
jitter: 0,
|
|
286
|
+
log: console.warn,
|
|
287
|
+
}),
|
|
290
288
|
);
|
|
291
289
|
|
|
292
290
|
console.warn('Following', spec);
|
package/src/follow.js
CHANGED
|
@@ -126,16 +126,17 @@ export default async function followerMain(progname, rawArgs, powers, opts) {
|
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
-
const leaderOptions = makeLeaderOptions({
|
|
130
|
-
sleep,
|
|
131
|
-
jitter,
|
|
132
|
-
log: verbose ? console.warn : () => undefined,
|
|
133
|
-
});
|
|
134
|
-
|
|
135
129
|
const [_cmd, ...specs] = rawArgs;
|
|
136
130
|
|
|
137
131
|
verbose && console.warn('Creating leader for', bootstrap);
|
|
138
|
-
const leader = makeLeader(
|
|
132
|
+
const leader = makeLeader(
|
|
133
|
+
bootstrap,
|
|
134
|
+
makeLeaderOptions({
|
|
135
|
+
sleep,
|
|
136
|
+
jitter,
|
|
137
|
+
log: verbose ? console.warn : () => undefined,
|
|
138
|
+
}),
|
|
139
|
+
);
|
|
139
140
|
const iterate = opts.lossy ? iterateLatest : iterateEach;
|
|
140
141
|
await Promise.all(
|
|
141
142
|
specs.map(async spec => {
|