agoric 0.22.0-upgrade-17-dev-ec448b0.0 → 0.22.0-upgrade-18-dev-bf39b10.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",
3
- "version": "0.22.0-upgrade-17-dev-ec448b0.0+ec448b0",
3
+ "version": "0.22.0-upgrade-18-dev-bf39b10.0+bf39b10",
4
4
  "description": "Manage the Agoric Javascript smart contract platform",
5
5
  "type": "module",
6
6
  "main": "src/main.js",
@@ -29,46 +29,46 @@
29
29
  "lint:eslint": "eslint ."
30
30
  },
31
31
  "devDependencies": {
32
- "@agoric/cosmic-swingset": "0.42.0-upgrade-17-dev-ec448b0.0+ec448b0",
33
- "@agoric/deploy-script-support": "0.10.4-upgrade-17-dev-ec448b0.0+ec448b0",
32
+ "@agoric/cosmic-swingset": "0.42.0-upgrade-18-dev-bf39b10.0+bf39b10",
33
+ "@agoric/deploy-script-support": "0.10.4-upgrade-18-dev-bf39b10.0+bf39b10",
34
34
  "ava": "^5.3.0",
35
35
  "c8": "^9.1.0",
36
36
  "dd-trace": "^4.11.1"
37
37
  },
38
38
  "dependencies": {
39
- "@agoric/access-token": "0.4.22-upgrade-17-dev-ec448b0.0+ec448b0",
40
- "@agoric/cache": "0.3.3-upgrade-17-dev-ec448b0.0+ec448b0",
41
- "@agoric/casting": "0.4.3-upgrade-17-dev-ec448b0.0+ec448b0",
42
- "@agoric/cosmic-proto": "0.5.0-upgrade-17-dev-ec448b0.0+ec448b0",
43
- "@agoric/ertp": "0.16.3-upgrade-17-dev-ec448b0.0+ec448b0",
44
- "@agoric/governance": "0.10.4-upgrade-17-dev-ec448b0.0+ec448b0",
45
- "@agoric/inter-protocol": "0.17.0-upgrade-17-dev-ec448b0.0+ec448b0",
46
- "@agoric/internal": "0.4.0-upgrade-17-dev-ec448b0.0+ec448b0",
47
- "@agoric/network": "0.2.0-upgrade-17-dev-ec448b0.0+ec448b0",
48
- "@agoric/smart-wallet": "0.5.4-upgrade-17-dev-ec448b0.0+ec448b0",
49
- "@agoric/store": "0.9.3-upgrade-17-dev-ec448b0.0+ec448b0",
50
- "@agoric/swingset-vat": "0.33.0-upgrade-17-dev-ec448b0.0+ec448b0",
51
- "@agoric/vats": "0.16.0-upgrade-17-dev-ec448b0.0+ec448b0",
52
- "@agoric/zoe": "0.26.3-upgrade-17-dev-ec448b0.0+ec448b0",
53
- "@agoric/zone": "0.3.0-upgrade-17-dev-ec448b0.0+ec448b0",
39
+ "@agoric/access-token": "0.4.22-upgrade-18-dev-bf39b10.0+bf39b10",
40
+ "@agoric/cache": "0.3.3-upgrade-18-dev-bf39b10.0+bf39b10",
41
+ "@agoric/casting": "0.4.3-upgrade-18-dev-bf39b10.0+bf39b10",
42
+ "@agoric/cosmic-proto": "0.5.0-upgrade-18-dev-bf39b10.0+bf39b10",
43
+ "@agoric/ertp": "0.16.3-upgrade-18-dev-bf39b10.0+bf39b10",
44
+ "@agoric/governance": "0.10.4-upgrade-18-dev-bf39b10.0+bf39b10",
45
+ "@agoric/inter-protocol": "0.17.0-upgrade-18-dev-bf39b10.0+bf39b10",
46
+ "@agoric/internal": "0.4.0-upgrade-18-dev-bf39b10.0+bf39b10",
47
+ "@agoric/network": "0.2.0-upgrade-18-dev-bf39b10.0+bf39b10",
48
+ "@agoric/smart-wallet": "0.5.4-upgrade-18-dev-bf39b10.0+bf39b10",
49
+ "@agoric/store": "0.9.3-upgrade-18-dev-bf39b10.0+bf39b10",
50
+ "@agoric/swingset-vat": "0.33.0-upgrade-18-dev-bf39b10.0+bf39b10",
51
+ "@agoric/vats": "0.16.0-upgrade-18-dev-bf39b10.0+bf39b10",
52
+ "@agoric/zoe": "0.26.3-upgrade-18-dev-bf39b10.0+bf39b10",
53
+ "@agoric/zone": "0.3.0-upgrade-18-dev-bf39b10.0+bf39b10",
54
54
  "@confio/relayer": "^0.11.3",
55
55
  "@cosmjs/crypto": "^0.32.3",
56
56
  "@cosmjs/encoding": "^0.32.3",
57
57
  "@cosmjs/math": "^0.32.3",
58
58
  "@cosmjs/proto-signing": "^0.32.3",
59
59
  "@cosmjs/stargate": "^0.32.3",
60
- "@endo/bundle-source": "^3.4.0",
61
- "@endo/captp": "^4.3.0",
62
- "@endo/compartment-mapper": "^1.2.2",
63
- "@endo/env-options": "^1.1.6",
64
- "@endo/errors": "^1.2.5",
65
- "@endo/far": "^1.1.5",
66
- "@endo/init": "^1.1.4",
67
- "@endo/marshal": "^1.5.3",
68
- "@endo/nat": "^5.0.10",
69
- "@endo/patterns": "^1.4.3",
70
- "@endo/promise-kit": "^1.1.5",
71
- "@endo/zip": "^1.0.7",
60
+ "@endo/bundle-source": "^3.4.2",
61
+ "@endo/captp": "^4.4.2",
62
+ "@endo/compartment-mapper": "^1.3.1",
63
+ "@endo/env-options": "^1.1.7",
64
+ "@endo/errors": "^1.2.7",
65
+ "@endo/far": "^1.1.8",
66
+ "@endo/init": "^1.1.6",
67
+ "@endo/marshal": "^1.6.1",
68
+ "@endo/nat": "^5.0.12",
69
+ "@endo/patterns": "^1.4.6",
70
+ "@endo/promise-kit": "^1.1.7",
71
+ "@endo/zip": "^1.0.8",
72
72
  "@iarna/toml": "^2.2.3",
73
73
  "anylogger": "^0.21.0",
74
74
  "chalk": "^5.2.0",
@@ -101,5 +101,5 @@
101
101
  "typeCoverage": {
102
102
  "atLeast": 77.44
103
103
  },
104
- "gitHead": "ec448b081ac21cbe217f210e06f0b8f7989e73d6"
104
+ "gitHead": "bf39b100f0da4380bab0ce2464aaca1988f0b76a"
105
105
  }
@@ -1,3 +1,4 @@
1
+ /* eslint-env node */
1
2
  import {
2
3
  getEnvironmentOption,
3
4
  getEnvironmentOptionsList,
package/src/bin-agops.js CHANGED
@@ -1,12 +1,10 @@
1
1
  #!/usr/bin/env node
2
+ /* eslint-env node */
2
3
  // @ts-check
3
4
  // @jessie-check
4
5
 
5
- /* global fetch, setTimeout */
6
-
7
6
  import '@endo/init/pre.js';
8
7
 
9
- import '@agoric/casting/node-fetch-shim.js';
10
8
  import '@endo/init';
11
9
 
12
10
  import { E } from '@endo/far';
@@ -1,14 +1,15 @@
1
1
  // @ts-check
2
2
  /* eslint-disable func-names */
3
- /* global fetch, setTimeout, process */
3
+ /* eslint-env node */
4
+ import { Offers } from '@agoric/inter-protocol/src/clientSupport.js';
5
+ import { oracleBrandFeedName } from '@agoric/inter-protocol/src/proposals/utils.js';
4
6
  import { Fail } from '@endo/errors';
5
7
  import { Nat } from '@endo/nat';
6
- import { Offers } from '@agoric/inter-protocol/src/clientSupport.js';
7
- import { Command } from 'commander';
8
8
  import * as cp from 'child_process';
9
+ import { Command } from 'commander';
9
10
  import { inspect } from 'util';
10
- import { oracleBrandFeedName } from '@agoric/inter-protocol/src/proposals/utils.js';
11
11
  import { normalizeAddressWithOptions } from '../lib/chain.js';
12
+ import { bigintReplacer } from '../lib/format.js';
12
13
  import { getNetworkConfig, makeRpcUtils, storageHelper } from '../lib/rpc.js';
13
14
  import {
14
15
  getCurrent,
@@ -17,7 +18,6 @@ import {
17
18
  sendAction,
18
19
  sendHint,
19
20
  } from '../lib/wallet.js';
20
- import { bigintReplacer } from '../lib/format.js';
21
21
 
22
22
  /** @import {PriceAuthority, PriceDescription, PriceQuote, PriceQuoteValue, PriceQuery,} from '@agoric/zoe/tools/types.js'; */
23
23
 
@@ -1,6 +1,6 @@
1
1
  // @ts-check
2
2
  /* eslint-disable func-names */
3
- /* global process */
3
+ /* eslint-env node */
4
4
  import {
5
5
  iterateEach,
6
6
  makeCastingSpec,
@@ -1,6 +1,6 @@
1
1
  // @ts-check
2
2
  /* eslint-disable func-names */
3
- /* global fetch, process */
3
+ /* eslint-env node */
4
4
  import { Command } from 'commander';
5
5
  import { Offers } from '@agoric/inter-protocol/src/clientSupport.js';
6
6
  import { asPercent } from '../lib/format.js';
@@ -1,6 +1,6 @@
1
1
  // @ts-check
2
2
  /* eslint-disable func-names */
3
- /* global fetch, process */
3
+ /* eslint-env node */
4
4
  import { Offers } from '@agoric/inter-protocol/src/clientSupport.js';
5
5
  import { Command } from 'commander';
6
6
  import { makeRpcUtils } from '../lib/rpc.js';
@@ -1,5 +1,5 @@
1
1
  // @ts-check
2
- /* global process */
2
+ /* eslint-env node */
3
3
  import { Fail } from '@endo/errors';
4
4
  import { CommanderError } from 'commander';
5
5
  import { normalizeAddressWithOptions } from '../lib/chain.js';
@@ -1,6 +1,6 @@
1
1
  // @ts-check
2
2
  /* eslint-disable func-names */
3
- /* global fetch, process */
3
+ /* eslint-env node */
4
4
  import { Command } from 'commander';
5
5
  import {
6
6
  lookupOfferIdForVault,
@@ -1,6 +1,6 @@
1
1
  // @ts-check
2
2
  /* eslint-disable func-names */
3
- /* global fetch, process */
3
+ /* eslint-env node */
4
4
  import {
5
5
  iterateLatest,
6
6
  makeCastingSpec,
package/src/deploy.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // @ts-check
2
- /* global process setTimeout setInterval clearInterval */
2
+ /* eslint-env node */
3
3
 
4
4
  import { X } from '@endo/errors';
5
5
  import { makePromiseKit } from '@endo/promise-kit';
package/src/entrypoint.js CHANGED
@@ -1,11 +1,9 @@
1
1
  #!/usr/bin/env node
2
+ /* eslint-env node */
2
3
  // @jessie-check
3
4
 
4
- /* global process */
5
-
6
5
  import '@endo/init/pre.js';
7
6
  import 'esm';
8
- import '@agoric/casting/node-fetch-shim.js';
9
7
  import '@endo/init/legacy.js';
10
8
 
11
9
  import path from 'path';
package/src/helpers.js CHANGED
@@ -1,4 +1,4 @@
1
- /* global process */
1
+ /* eslint-env node */
2
2
  // @ts-check
3
3
 
4
4
  /** @import { ChildProcess } from 'child_process' */
package/src/install.js CHANGED
@@ -1,4 +1,4 @@
1
- /* global process Buffer */
1
+ /* eslint-env node */
2
2
  import path from 'path';
3
3
  import chalk from 'chalk';
4
4
  import { makePspawn } from './helpers.js';
@@ -1,6 +1,5 @@
1
1
  // @ts-check
2
-
3
- /* global Buffer */
2
+ /* eslint-env node */
4
3
 
5
4
  import assert from 'node:assert/strict';
6
5
  import fs from 'node:fs';
package/src/lib/chain.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // @ts-check
2
- /* global process */
2
+ /* eslint-env node */
3
3
  import { normalizeBech32 } from '@cosmjs/encoding';
4
4
  import { execFileSync as execFileSyncAmbient } from 'child_process';
5
5
 
package/src/lib/rpc.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // @ts-check
2
- /* global Buffer, fetch, process */
2
+ /* eslint-env node */
3
3
 
4
4
  import { NonNullish } from '@agoric/internal';
5
5
  import {
package/src/lib/wallet.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // @ts-check
2
- /* global process */
2
+ /* eslint-env node */
3
3
 
4
4
  import { Fail } from '@endo/errors';
5
5
  import { iterateReverse } from '@agoric/casting';
@@ -1,4 +1,4 @@
1
- /* global process */
1
+ /* eslint-env node */
2
2
  // @ts-check
3
3
 
4
4
  import path from 'path';
package/src/main.js CHANGED
@@ -1,4 +1,4 @@
1
- /* global process */
1
+ /* eslint-env node */
2
2
  import { Command } from 'commander';
3
3
  import path from 'path';
4
4
  import url from 'url';
package/src/open.js CHANGED
@@ -1,4 +1,4 @@
1
- /* global process setInterval clearInterval */
1
+ /* eslint-env node */
2
2
  import opener from 'opener';
3
3
  import { assert, X } from '@endo/errors';
4
4
  import { getAccessToken } from '@agoric/access-token';
package/src/scripts.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // @ts-check
2
- /* global process */
2
+ /* eslint-env node */
3
3
  import bundleSource from '@endo/bundle-source';
4
4
  import { E } from '@endo/captp';
5
5
  import { search as readContainingPackageDescriptor } from '@endo/compartment-mapper';
@@ -49,5 +49,6 @@ export default [
49
49
  "@agoric/xsnap-lockdown",
50
50
  "@agoric/zoe",
51
51
  "@agoric/zone",
52
- "agoric"
52
+ "agoric",
53
+ "fast-usdc"
53
54
  ];
package/src/start.js CHANGED
@@ -1,4 +1,4 @@
1
- /* global process setTimeout */
1
+ /* eslint-env node */
2
2
  import chalk from 'chalk';
3
3
  import { createHash } from 'crypto';
4
4
  import path from 'path';
@@ -1,5 +1,5 @@
1
1
  // @ts-check
2
- /* global process setTimeout setInterval clearInterval Buffer */
2
+ /* eslint-env node */
3
3
 
4
4
  import fs from 'fs';
5
5
  import path from 'path';
@@ -172,7 +172,7 @@ export const gettingStartedWorkflowTest = async (t, options = {}) => {
172
172
 
173
173
  // ==============
174
174
  // wait for the chain to start
175
- let lastKnownBlockHeight = 0n;
175
+ let lastKnownBlockHeight = 2n;
176
176
  for (;;) {
177
177
  try {
178
178
  const currentHeight = await getLatestBlockHeight(
@@ -181,8 +181,8 @@ export const gettingStartedWorkflowTest = async (t, options = {}) => {
181
181
  if (currentHeight > lastKnownBlockHeight) {
182
182
  const earlierHeight = lastKnownBlockHeight;
183
183
  lastKnownBlockHeight = currentHeight;
184
- if (earlierHeight > 0n && currentHeight > earlierHeight) {
185
- // We've had at least one block produced.
184
+ if (earlierHeight > 2n && currentHeight > earlierHeight) {
185
+ // We've had at least 3 blocks produced.
186
186
  break;
187
187
  }
188
188
  }