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 +31 -31
- package/src/anylogger-agoric.js +1 -0
- package/src/bin-agops.js +1 -3
- package/src/commands/oracle.js +5 -5
- package/src/commands/perf.js +1 -1
- package/src/commands/psm.js +1 -1
- package/src/commands/reserve.js +1 -1
- package/src/commands/test-upgrade.js +1 -1
- package/src/commands/vaults.js +1 -1
- package/src/commands/wallet.js +1 -1
- package/src/deploy.js +1 -1
- package/src/entrypoint.js +1 -3
- package/src/helpers.js +1 -1
- package/src/install.js +1 -1
- package/src/lib/bundles.js +1 -2
- package/src/lib/chain.js +1 -1
- package/src/lib/rpc.js +1 -1
- package/src/lib/wallet.js +1 -1
- package/src/main-publish.js +1 -1
- package/src/main.js +1 -1
- package/src/open.js +1 -1
- package/src/scripts.js +1 -1
- package/src/sdk-package-names.js +2 -1
- package/src/start.js +1 -1
- package/tools/getting-started.js +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agoric",
|
|
3
|
-
"version": "0.22.0-upgrade-
|
|
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-
|
|
33
|
-
"@agoric/deploy-script-support": "0.10.4-upgrade-
|
|
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-
|
|
40
|
-
"@agoric/cache": "0.3.3-upgrade-
|
|
41
|
-
"@agoric/casting": "0.4.3-upgrade-
|
|
42
|
-
"@agoric/cosmic-proto": "0.5.0-upgrade-
|
|
43
|
-
"@agoric/ertp": "0.16.3-upgrade-
|
|
44
|
-
"@agoric/governance": "0.10.4-upgrade-
|
|
45
|
-
"@agoric/inter-protocol": "0.17.0-upgrade-
|
|
46
|
-
"@agoric/internal": "0.4.0-upgrade-
|
|
47
|
-
"@agoric/network": "0.2.0-upgrade-
|
|
48
|
-
"@agoric/smart-wallet": "0.5.4-upgrade-
|
|
49
|
-
"@agoric/store": "0.9.3-upgrade-
|
|
50
|
-
"@agoric/swingset-vat": "0.33.0-upgrade-
|
|
51
|
-
"@agoric/vats": "0.16.0-upgrade-
|
|
52
|
-
"@agoric/zoe": "0.26.3-upgrade-
|
|
53
|
-
"@agoric/zone": "0.3.0-upgrade-
|
|
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.
|
|
61
|
-
"@endo/captp": "^4.
|
|
62
|
-
"@endo/compartment-mapper": "^1.
|
|
63
|
-
"@endo/env-options": "^1.1.
|
|
64
|
-
"@endo/errors": "^1.2.
|
|
65
|
-
"@endo/far": "^1.1.
|
|
66
|
-
"@endo/init": "^1.1.
|
|
67
|
-
"@endo/marshal": "^1.
|
|
68
|
-
"@endo/nat": "^5.0.
|
|
69
|
-
"@endo/patterns": "^1.4.
|
|
70
|
-
"@endo/promise-kit": "^1.1.
|
|
71
|
-
"@endo/zip": "^1.0.
|
|
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": "
|
|
104
|
+
"gitHead": "bf39b100f0da4380bab0ce2464aaca1988f0b76a"
|
|
105
105
|
}
|
package/src/anylogger-agoric.js
CHANGED
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';
|
package/src/commands/oracle.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
// @ts-check
|
|
2
2
|
/* eslint-disable func-names */
|
|
3
|
-
/*
|
|
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
|
|
package/src/commands/perf.js
CHANGED
package/src/commands/psm.js
CHANGED
package/src/commands/reserve.js
CHANGED
package/src/commands/vaults.js
CHANGED
package/src/commands/wallet.js
CHANGED
package/src/deploy.js
CHANGED
package/src/entrypoint.js
CHANGED
package/src/helpers.js
CHANGED
package/src/install.js
CHANGED
package/src/lib/bundles.js
CHANGED
package/src/lib/chain.js
CHANGED
package/src/lib/rpc.js
CHANGED
package/src/lib/wallet.js
CHANGED
package/src/main-publish.js
CHANGED
package/src/main.js
CHANGED
package/src/open.js
CHANGED
package/src/scripts.js
CHANGED
package/src/sdk-package-names.js
CHANGED
package/src/start.js
CHANGED
package/tools/getting-started.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @ts-check
|
|
2
|
-
/*
|
|
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 =
|
|
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 >
|
|
185
|
-
// We've had at least
|
|
184
|
+
if (earlierHeight > 2n && currentHeight > earlierHeight) {
|
|
185
|
+
// We've had at least 3 blocks produced.
|
|
186
186
|
break;
|
|
187
187
|
}
|
|
188
188
|
}
|