diff --git a/packages/ERTP/package.json b/packages/ERTP/package.json index 301dfb70ad2..bb62821c182 100644 --- a/packages/ERTP/package.json +++ b/packages/ERTP/package.json @@ -84,6 +84,6 @@ "access": "public" }, "typeCoverage": { - "atLeast": 90.37 + "atLeast": 90.6 } } diff --git a/packages/SwingSet/package.json b/packages/SwingSet/package.json index a54b1fb7191..0b9c5008460 100644 --- a/packages/SwingSet/package.json +++ b/packages/SwingSet/package.json @@ -100,6 +100,6 @@ "access": "public" }, "typeCoverage": { - "atLeast": 75.26 + "atLeast": 75.36 } } diff --git a/packages/agoric-cli/package.json b/packages/agoric-cli/package.json index 07051578283..3e6ea307759 100644 --- a/packages/agoric-cli/package.json +++ b/packages/agoric-cli/package.json @@ -96,6 +96,6 @@ "workerThreads": false }, "typeCoverage": { - "atLeast": 77.53 + "atLeast": 77.5 } } diff --git a/packages/base-zone/package.json b/packages/base-zone/package.json index 58238e29e43..ef8d1588ea0 100644 --- a/packages/base-zone/package.json +++ b/packages/base-zone/package.json @@ -53,6 +53,6 @@ "workerThreads": false }, "typeCoverage": { - "atLeast": 86.48 + "atLeast": 88.7 } } diff --git a/packages/base-zone/src/heap.js b/packages/base-zone/src/heap.js index f968fa0be4f..839cd2abaf1 100644 --- a/packages/base-zone/src/heap.js +++ b/packages/base-zone/src/heap.js @@ -1,6 +1,5 @@ // @ts-check // @jessie-check -/// import { Far } from '@endo/far'; import { makeExo, defineExoClass, defineExoClassKit } from '@endo/exo'; diff --git a/packages/base-zone/src/store-types.d.ts b/packages/base-zone/src/store-types.d.ts deleted file mode 100644 index 91176037635..00000000000 --- a/packages/base-zone/src/store-types.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -// Prevent the compiler from complaining about the @agoric/store type not being -// defined if `"noImplicitAny": true` is set in tsconfig.json. -declare module '@agoric/store'; diff --git a/packages/boot/package.json b/packages/boot/package.json index 04057d845e7..efa7fefd568 100644 --- a/packages/boot/package.json +++ b/packages/boot/package.json @@ -84,6 +84,6 @@ "workerThreads": false }, "typeCoverage": { - "atLeast": 85.68 + "atLeast": 88.05 } } diff --git a/packages/builders/package.json b/packages/builders/package.json index 8c125767897..5b603d062f2 100644 --- a/packages/builders/package.json +++ b/packages/builders/package.json @@ -80,6 +80,6 @@ "workerThreads": false }, "typeCoverage": { - "atLeast": 67.19 + "atLeast": 67.05 } } diff --git a/packages/casting/package.json b/packages/casting/package.json index 49b4d639518..3718ea3997c 100644 --- a/packages/casting/package.json +++ b/packages/casting/package.json @@ -60,6 +60,6 @@ "workerThreads": false }, "typeCoverage": { - "atLeast": 88.12 + "atLeast": 89.5 } } diff --git a/packages/cosmic-swingset/package.json b/packages/cosmic-swingset/package.json index ae8f557f1d5..bf6ccc99e4e 100644 --- a/packages/cosmic-swingset/package.json +++ b/packages/cosmic-swingset/package.json @@ -67,6 +67,6 @@ "timeout": "20m" }, "typeCoverage": { - "atLeast": 79.4 + "atLeast": 79.32 } } diff --git a/packages/deploy-script-support/package.json b/packages/deploy-script-support/package.json index 5cb257d78d4..a7982099ad1 100644 --- a/packages/deploy-script-support/package.json +++ b/packages/deploy-script-support/package.json @@ -73,6 +73,6 @@ "access": "public" }, "typeCoverage": { - "atLeast": 79.84 + "atLeast": 80.06 } } diff --git a/packages/deployment/package.json b/packages/deployment/package.json index abd4f5eaebd..9f259308226 100644 --- a/packages/deployment/package.json +++ b/packages/deployment/package.json @@ -37,6 +37,6 @@ "readline-transform": "^1.0.0" }, "typeCoverage": { - "atLeast": 61.49 + "atLeast": 60.14 } } diff --git a/packages/governance/package.json b/packages/governance/package.json index f45e3d6bd57..12205f0931f 100644 --- a/packages/governance/package.json +++ b/packages/governance/package.json @@ -76,6 +76,6 @@ "access": "public" }, "typeCoverage": { - "atLeast": 83.56 + "atLeast": 89.27 } } diff --git a/packages/governance/test/swingsetTests/utils.js b/packages/governance/test/swingsetTests/utils.js index 1a931af99d1..7929ab8ff61 100644 --- a/packages/governance/test/swingsetTests/utils.js +++ b/packages/governance/test/swingsetTests/utils.js @@ -7,6 +7,8 @@ const nullMarshaller = makeMarshal( ); export const remoteNullMarshaller = makeExo('nullMarshaller', undefined, { + serialize: val => nullMarshaller.toCapData(val), + unserialize: slot => nullMarshaller.fromCapData(slot), toCapData: val => nullMarshaller.toCapData(val), fromCapData: slot => nullMarshaller.fromCapData(slot), }); diff --git a/packages/inter-protocol/package.json b/packages/inter-protocol/package.json index 722259a384c..7d16e526258 100644 --- a/packages/inter-protocol/package.json +++ b/packages/inter-protocol/package.json @@ -83,6 +83,6 @@ "access": "public" }, "typeCoverage": { - "atLeast": 93.45 + "atLeast": 95.83 } } diff --git a/packages/inter-protocol/test/auction/test-auctionContract.js b/packages/inter-protocol/test/auction/test-auctionContract.js index 188d44f6426..b624307a9be 100644 --- a/packages/inter-protocol/test/auction/test-auctionContract.js +++ b/packages/inter-protocol/test/auction/test-auctionContract.js @@ -9,7 +9,7 @@ import { subscribeEach } from '@agoric/notifier'; import { eventLoopIteration } from '@agoric/internal/src/testing-utils.js'; import { buildManualTimer } from '@agoric/swingset-vat/tools/manual-timer.js'; import { TimeMath } from '@agoric/time'; -import { makeScalarMapStore } from '@agoric/vat-data/src/index.js'; +import { makeScalarMapStore } from '@agoric/vat-data'; import { makeRatio, makeRatioFromAmounts, @@ -126,6 +126,7 @@ export const setupServices = async (t, params = defaultParams) => { void E(reserveCF).addIssuer(collateral.issuer, 'Collateral'); + /** @type {import('@agoric/swingset-liveslots').Baggage} */ const paBaggage = makeScalarMapStore(); const { priceAuthority, adminFacet: registry } = providePriceAuthorityRegistry(paBaggage); diff --git a/packages/inter-protocol/test/smartWallet/test-psm-integration.js b/packages/inter-protocol/test/smartWallet/test-psm-integration.js index 1b0f0bddb80..7037d537da8 100644 --- a/packages/inter-protocol/test/smartWallet/test-psm-integration.js +++ b/packages/inter-protocol/test/smartWallet/test-psm-integration.js @@ -1,7 +1,6 @@ import { test as anyTest } from '@agoric/zoe/tools/prepare-test-env-ava.js'; import { AmountMath, makeIssuerKit } from '@agoric/ertp'; -import '@agoric/vats/src/core/types-ambient.js'; import { eventLoopIteration } from '@agoric/internal/src/testing-utils.js'; import { E } from '@endo/far'; import { NonNullish } from '@agoric/assert'; diff --git a/packages/internal/package.json b/packages/internal/package.json index 96cfe7c9344..0e22ee5b77a 100755 --- a/packages/internal/package.json +++ b/packages/internal/package.json @@ -50,6 +50,6 @@ "access": "public" }, "typeCoverage": { - "atLeast": 92.26 + "atLeast": 92.28 } } diff --git a/packages/pegasus/package.json b/packages/pegasus/package.json index 04dd7bcf4b1..2c029d38929 100644 --- a/packages/pegasus/package.json +++ b/packages/pegasus/package.json @@ -68,6 +68,6 @@ "access": "public" }, "typeCoverage": { - "atLeast": 90.04 + "atLeast": 89.97 } } diff --git a/packages/smart-wallet/package.json b/packages/smart-wallet/package.json index 35a30427ac9..ddf9ae13c39 100644 --- a/packages/smart-wallet/package.json +++ b/packages/smart-wallet/package.json @@ -67,6 +67,6 @@ "access": "public" }, "typeCoverage": { - "atLeast": 86.97 + "atLeast": 94.07 } } diff --git a/packages/smart-wallet/test/supports.js b/packages/smart-wallet/test/supports.js index 2d1546880f4..867dfa5860f 100644 --- a/packages/smart-wallet/test/supports.js +++ b/packages/smart-wallet/test/supports.js @@ -11,7 +11,6 @@ import { makeBoard, } from '@agoric/vats/src/core/basic-behaviors.js'; import { setupClientManager } from '@agoric/vats/src/core/chain-behaviors.js'; -import '@agoric/vats/src/core/types-ambient.js'; import { buildRootObject as boardRoot } from '@agoric/vats/src/vat-board.js'; import { buildRootObject as mintsRoot } from '@agoric/vats/src/vat-mints.js'; import { makeFakeBankKit } from '@agoric/vats/tools/bank-utils.js'; diff --git a/packages/smart-wallet/test/test-startWalletFactory.js b/packages/smart-wallet/test/test-startWalletFactory.js index 1327dadf2ff..03fb0b73814 100644 --- a/packages/smart-wallet/test/test-startWalletFactory.js +++ b/packages/smart-wallet/test/test-startWalletFactory.js @@ -6,8 +6,6 @@ import { E } from '@endo/far'; import path from 'path'; import { makeMockTestSpace } from './supports.js'; -import '@agoric/vats/src/core/types-ambient.js'; - /** @type {import('ava').TestFn>>} */ const test = anyTest; diff --git a/packages/smart-wallet/test/test-walletFactory.js b/packages/smart-wallet/test/test-walletFactory.js index 7ad379d81ad..ac81330b115 100644 --- a/packages/smart-wallet/test/test-walletFactory.js +++ b/packages/smart-wallet/test/test-walletFactory.js @@ -11,8 +11,6 @@ import { topicPath, } from './supports.js'; -import '@agoric/vats/src/core/types-ambient.js'; - /** @type {import('ava').TestFn>>} */ const test = anyTest; diff --git a/packages/solo/package.json b/packages/solo/package.json index 549cdb0222d..d4fbe1c7aa1 100644 --- a/packages/solo/package.json +++ b/packages/solo/package.json @@ -78,6 +78,6 @@ "workerThreads": false }, "typeCoverage": { - "atLeast": 68.59 + "atLeast": 68.72 } } diff --git a/packages/swing-store/package.json b/packages/swing-store/package.json index 62b8a415c22..0a574595406 100644 --- a/packages/swing-store/package.json +++ b/packages/swing-store/package.json @@ -49,6 +49,6 @@ "timeout": "2m" }, "typeCoverage": { - "atLeast": 75.52 + "atLeast": 76.1 } } diff --git a/packages/swingset-liveslots/package.json b/packages/swingset-liveslots/package.json index 95b92fcac99..38b1f39fe66 100644 --- a/packages/swingset-liveslots/package.json +++ b/packages/swingset-liveslots/package.json @@ -65,6 +65,6 @@ "access": "public" }, "typeCoverage": { - "atLeast": 71.48 + "atLeast": 75.1 } } diff --git a/packages/vat-data/package.json b/packages/vat-data/package.json index 790241a64e7..1c034656f19 100644 --- a/packages/vat-data/package.json +++ b/packages/vat-data/package.json @@ -45,6 +45,6 @@ "node": ">=14.15.0" }, "typeCoverage": { - "atLeast": 98.23 + "atLeast": 99.19 } } diff --git a/packages/vats/src/bridge.js b/packages/vats/src/bridge.js index 9de5e59cf09..6cf236e6c7d 100644 --- a/packages/vats/src/bridge.js +++ b/packages/vats/src/bridge.js @@ -1,7 +1,6 @@ import { M } from '@agoric/store'; import '@agoric/store/exported.js'; import { E } from '@endo/far'; -import './core/types-ambient.js'; const { Fail, details: X } = assert; diff --git a/packages/zoe/package.json b/packages/zoe/package.json index f9a488bf0f8..67704b31e10 100644 --- a/packages/zoe/package.json +++ b/packages/zoe/package.json @@ -135,6 +135,6 @@ "access": "public" }, "typeCoverage": { - "atLeast": 81.5 + "atLeast": 84.82 } } diff --git a/packages/zone/package.json b/packages/zone/package.json index 6dcbbebff19..0c0b00a1b39 100644 --- a/packages/zone/package.json +++ b/packages/zone/package.json @@ -54,6 +54,6 @@ "workerThreads": false }, "typeCoverage": { - "atLeast": 96.33 + "atLeast": 96.68 } }