@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/solo",
3
- "version": "0.10.3",
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": "^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",
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": "^0.21.1",
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": "^0.16.2",
60
+ "@agoric/ertp": "0.16.3-dev-8690eb0.0+8690eb0",
61
61
  "@endo/bundle-source": "^2.5.1",
62
- "ava": "^5.2.0",
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": "ba3b776444425bbcb275ce918794d9259f8e15da"
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);
@@ -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
@@ -55,6 +55,7 @@ start
55
55
  `);
56
56
  }
57
57
 
58
+ await null;
58
59
  switch (argv[0]) {
59
60
  case 'setup': {
60
61
  const { netconfig } = parseArgs(argv.slice(1));
@@ -33,6 +33,7 @@ const main = async () => {
33
33
  deliverator(...as).then(() => send('go'));
34
34
  });
35
35
 
36
+ await null;
36
37
  switch (method) {
37
38
  case 'connectToFakeChain': {
38
39
  const [basedir, GCI, delay] = margs;
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
@@ -198,6 +198,7 @@ export function buildRootObject(vatPowers) {
198
198
  dispatcher = 'onMessage',
199
199
  } = rawMeta;
200
200
 
201
+ await null;
201
202
  try {
202
203
  let channelHandle = channelIdToHandle.get(rawChannelID);
203
204
  if (dispatcher === 'onOpen') {
package/src/web.js CHANGED
@@ -353,6 +353,7 @@ export async function makeHTTPListener(
353
353
 
354
354
  ws.on('message', async message => {
355
355
  let obj = {};
356
+ await null;
356
357
  try {
357
358
  obj = JSON.parse(message);
358
359
  const res = await inboundCommand(obj, meta, id);
@@ -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
  );