Skip to content

Commit

Permalink
chore: Sync Endo 2024-07-30 (#9811)
Browse files Browse the repository at this point in the history
This change brings the latest versions from Endo into Agoric SDK. Release notes endojs/endo#2391
  • Loading branch information
mergify[bot] authored Aug 2, 2024
2 parents 77eeafc + 0242e09 commit ae69fbd
Show file tree
Hide file tree
Showing 54 changed files with 577 additions and 664 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"type": "module",
"packageManager": "[email protected]",
"devDependencies": {
"@endo/eslint-plugin": "^2.1.3",
"@endo/eslint-plugin": "^2.2.0",
"@jessie.js/eslint-plugin": "^0.4.1",
"@types/express": "^4.17.17",
"@types/node": "^18.19.24",
Expand Down
16 changes: 8 additions & 8 deletions packages/ERTP/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,21 +39,21 @@
},
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
"dependencies": {
"@endo/errors": "^1.2.2",
"@endo/errors": "^1.2.4",
"@agoric/notifier": "^0.6.2",
"@agoric/store": "^0.9.2",
"@agoric/vat-data": "^0.5.2",
"@agoric/zone": "^0.2.2",
"@endo/eventual-send": "^1.2.2",
"@endo/far": "^1.1.2",
"@endo/marshal": "^1.5.0",
"@endo/nat": "^5.0.7",
"@endo/patterns": "^1.4.0",
"@endo/promise-kit": "^1.1.2"
"@endo/eventual-send": "^1.2.4",
"@endo/far": "^1.1.4",
"@endo/marshal": "^1.5.2",
"@endo/nat": "^5.0.9",
"@endo/patterns": "^1.4.2",
"@endo/promise-kit": "^1.1.4"
},
"devDependencies": {
"@agoric/swingset-vat": "^0.32.2",
"@endo/bundle-source": "^3.2.3",
"@endo/bundle-source": "^3.3.0",
"@fast-check/ava": "^1.1.5",
"ava": "^5.3.0",
"tsd": "^0.31.1"
Expand Down
34 changes: 17 additions & 17 deletions packages/SwingSet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@types/yargs-parser": "^21.0.0"
},
"dependencies": {
"@endo/errors": "^1.2.2",
"@endo/errors": "^1.2.4",
"@agoric/internal": "^0.3.2",
"@agoric/kmarshal": "^0.1.0",
"@agoric/store": "^0.9.2",
Expand All @@ -38,22 +38,22 @@
"@agoric/vat-data": "^0.5.2",
"@agoric/xsnap": "^0.14.2",
"@agoric/xsnap-lockdown": "^0.14.0",
"@endo/base64": "^1.0.5",
"@endo/bundle-source": "^3.2.3",
"@endo/captp": "^4.2.0",
"@endo/check-bundle": "^1.0.7",
"@endo/compartment-mapper": "^1.1.5",
"@endo/eventual-send": "^1.2.2",
"@endo/far": "^1.1.2",
"@endo/import-bundle": "^1.1.2",
"@endo/init": "^1.1.2",
"@endo/marshal": "^1.5.0",
"@endo/nat": "^5.0.7",
"@endo/patterns": "^1.4.0",
"@endo/promise-kit": "^1.1.2",
"@endo/ses-ava": "^1.2.2",
"@endo/stream": "^1.2.2",
"@endo/zip": "^1.0.5",
"@endo/base64": "^1.0.6",
"@endo/bundle-source": "^3.3.0",
"@endo/captp": "^4.2.2",
"@endo/check-bundle": "^1.0.8",
"@endo/compartment-mapper": "^1.2.1",
"@endo/eventual-send": "^1.2.4",
"@endo/far": "^1.1.4",
"@endo/import-bundle": "^1.2.1",
"@endo/init": "^1.1.3",
"@endo/marshal": "^1.5.2",
"@endo/nat": "^5.0.9",
"@endo/patterns": "^1.4.2",
"@endo/promise-kit": "^1.1.4",
"@endo/ses-ava": "^1.2.4",
"@endo/stream": "^1.2.4",
"@endo/zip": "^1.0.6",
"ansi-styles": "^6.2.1",
"anylogger": "^0.21.0",
"better-sqlite3": "^9.1.1",
Expand Down
8 changes: 4 additions & 4 deletions packages/SwingSet/test/snapshots/xsnap-store.test.js.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ Generated by [AVA](https://avajs.dev).
{
compressSeconds: 0,
dbSaveSeconds: 0,
hash: '30d2d6ce649f1f3b9d5dd48404ee32c4ff0cc9935b7aa4498c0bcd218eedca71',
uncompressedSize: 827651,
hash: '253f0845319a00cb2e3a53d26bb1326ba70afba4fb1d1c7555b224f54c1ad928',
uncompressedSize: 832803,
}

> after use of harden() - sensitive to SES-shim, XS, and supervisor
{
compressSeconds: 0,
dbSaveSeconds: 0,
hash: '46d4988aa5eed7354684b76362fa8b6049e4467139e064a5b73fa8e80bed26a7',
uncompressedSize: 827811,
hash: '316babd8aebf0fb2066da5e1c6c9206540b5b678697db5353920f32606f51738',
uncompressedSize: 832963,
}
Binary file modified packages/SwingSet/test/snapshots/xsnap-store.test.js.snap
Binary file not shown.
24 changes: 12 additions & 12 deletions packages/agoric-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
},
"dependencies": {
"@agoric/access-token": "^0.4.21",
"@endo/errors": "^1.2.2",
"@endo/errors": "^1.2.4",
"@agoric/cache": "^0.3.2",
"@agoric/casting": "^0.4.2",
"@agoric/cosmic-proto": "^0.4.0",
Expand All @@ -58,17 +58,17 @@
"@cosmjs/math": "^0.32.3",
"@cosmjs/proto-signing": "^0.32.3",
"@cosmjs/stargate": "^0.32.3",
"@endo/bundle-source": "^3.2.3",
"@endo/captp": "^4.2.0",
"@endo/compartment-mapper": "^1.1.5",
"@endo/env-options": "^1.1.4",
"@endo/far": "^1.1.2",
"@endo/init": "^1.1.2",
"@endo/marshal": "^1.5.0",
"@endo/nat": "^5.0.7",
"@endo/patterns": "^1.4.0",
"@endo/promise-kit": "^1.1.2",
"@endo/zip": "^1.0.5",
"@endo/bundle-source": "^3.3.0",
"@endo/captp": "^4.2.2",
"@endo/compartment-mapper": "^1.2.1",
"@endo/env-options": "^1.1.5",
"@endo/far": "^1.1.4",
"@endo/init": "^1.1.3",
"@endo/marshal": "^1.5.2",
"@endo/nat": "^5.0.9",
"@endo/patterns": "^1.4.2",
"@endo/promise-kit": "^1.1.4",
"@endo/zip": "^1.0.6",
"@iarna/toml": "^2.2.3",
"anylogger": "^0.21.0",
"chalk": "^5.2.0",
Expand Down
18 changes: 9 additions & 9 deletions packages/async-flow/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,19 @@
"@agoric/internal": "^0.3.2",
"@agoric/store": "^0.9.2",
"@agoric/vow": "^0.1.0",
"@endo/common": "^1.2.2",
"@endo/errors": "^1.2.2",
"@endo/eventual-send": "^1.2.2",
"@endo/marshal": "^1.5.0",
"@endo/pass-style": "^1.4.0",
"@endo/patterns": "^1.4.0",
"@endo/promise-kit": "^1.1.2"
"@endo/common": "^1.2.4",
"@endo/errors": "^1.2.4",
"@endo/eventual-send": "^1.2.4",
"@endo/marshal": "^1.5.2",
"@endo/pass-style": "^1.4.2",
"@endo/patterns": "^1.4.2",
"@endo/promise-kit": "^1.1.4"
},
"devDependencies": {
"@agoric/swingset-liveslots": "^0.10.2",
"@agoric/zone": "^0.2.2",
"@endo/env-options": "^1.1.4",
"@endo/ses-ava": "^1.2.2",
"@endo/env-options": "^1.1.5",
"@endo/ses-ava": "^1.2.4",
"ava": "^5.3.0",
"tsd": "^0.31.1"
},
Expand Down
16 changes: 8 additions & 8 deletions packages/base-zone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@
"license": "Apache-2.0",
"dependencies": {
"@agoric/store": "^0.9.2",
"@endo/common": "^1.2.2",
"@endo/errors": "^1.2.2",
"@endo/exo": "^1.5.0",
"@endo/far": "^1.1.2",
"@endo/pass-style": "^1.4.0",
"@endo/patterns": "^1.4.0"
"@endo/common": "^1.2.4",
"@endo/errors": "^1.2.4",
"@endo/exo": "^1.5.2",
"@endo/far": "^1.1.4",
"@endo/pass-style": "^1.4.2",
"@endo/patterns": "^1.4.2"
},
"devDependencies": {
"@endo/init": "^1.1.2",
"@endo/ses-ava": "^1.2.2",
"@endo/init": "^1.1.3",
"@endo/ses-ava": "^1.2.4",
"ava": "^5.3.0"
},
"publishConfig": {
Expand Down
4 changes: 2 additions & 2 deletions packages/benchmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@
"author": "Agoric",
"license": "Apache-2.0",
"dependencies": {
"@endo/errors": "^1.2.2",
"@endo/errors": "^1.2.4",
"@agoric/boot": "^0.1.0",
"@agoric/cosmic-swingset": "^0.41.3",
"@agoric/internal": "^0.3.2",
"@agoric/inter-protocol": "^0.16.1",
"@agoric/vats": "^0.15.1",
"@agoric/zoe": "^0.26.2",
"@endo/init": "^1.1.2"
"@endo/init": "^1.1.3"
},
"devDependencies": {},
"files": [
Expand Down
22 changes: 11 additions & 11 deletions packages/boot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"author": "Agoric",
"license": "Apache-2.0",
"dependencies": {
"@endo/errors": "^1.2.2",
"@endo/errors": "^1.2.4",
"@agoric/builders": "^0.1.0",
"@agoric/cosmic-proto": "^0.4.0",
"@agoric/cosmic-swingset": "^0.41.3",
Expand All @@ -38,23 +38,23 @@
"@agoric/vow": "^0.1.0",
"@agoric/zoe": "^0.26.2",
"@agoric/zone": "^0.2.2",
"@endo/bundle-source": "^3.2.3",
"@endo/captp": "^4.2.0",
"@endo/eventual-send": "^1.2.2",
"@endo/far": "^1.1.2",
"@endo/init": "^1.1.2",
"@endo/marshal": "^1.5.0",
"@endo/promise-kit": "^1.1.2",
"@endo/stream": "^1.2.2",
"@endo/bundle-source": "^3.3.0",
"@endo/captp": "^4.2.2",
"@endo/eventual-send": "^1.2.4",
"@endo/far": "^1.1.4",
"@endo/init": "^1.1.3",
"@endo/marshal": "^1.5.2",
"@endo/promise-kit": "^1.1.4",
"@endo/stream": "^1.2.4",
"import-meta-resolve": "^2.2.1"
},
"devDependencies": {
"@agoric/deploy-script-support": "^0.10.3",
"@agoric/governance": "^0.10.3",
"@agoric/store": "^0.9.2",
"@agoric/swingset-liveslots": "^0.10.2",
"@endo/base64": "^1.0.5",
"@endo/patterns": "^1.4.0",
"@endo/base64": "^1.0.6",
"@endo/patterns": "^1.4.2",
"ava": "^5.3.0",
"c8": "^9.1.0",
"tsx": "3.12.8"
Expand Down
18 changes: 9 additions & 9 deletions packages/builders/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,18 @@
"@agoric/vat-data": "^0.5.2",
"@agoric/vats": "^0.15.1",
"@agoric/zoe": "^0.26.2",
"@endo/bundle-source": "^3.2.3",
"@endo/captp": "^4.2.0",
"@endo/eventual-send": "^1.2.2",
"@endo/far": "^1.1.2",
"@endo/init": "^1.1.2",
"@endo/marshal": "^1.5.0",
"@endo/promise-kit": "^1.1.2",
"@endo/stream": "^1.2.2",
"@endo/bundle-source": "^3.3.0",
"@endo/captp": "^4.2.2",
"@endo/eventual-send": "^1.2.4",
"@endo/far": "^1.1.4",
"@endo/init": "^1.1.3",
"@endo/marshal": "^1.5.2",
"@endo/promise-kit": "^1.1.4",
"@endo/stream": "^1.2.4",
"import-meta-resolve": "^2.2.1"
},
"devDependencies": {
"@endo/errors": "^1.2.2",
"@endo/errors": "^1.2.4",
"@agoric/deploy-script-support": "^0.10.3",
"@agoric/governance": "^0.10.3",
"@agoric/inter-protocol": "^0.16.1",
Expand Down
4 changes: 4 additions & 0 deletions packages/builders/scripts/inter-protocol/manual-price-feed.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export default async function priceAuthorityFromNotifier(

if (!aggregatorInstance) {
console.log('Autodetecting aggregator instance...');
// @ts-expect-error inspecific Home type
const purse = E(home.wallet).getPurse('Default Zoe invite purse');
const { value } = await E(purse).getCurrentAmount();
const invitations = value.filter(
Expand Down Expand Up @@ -81,6 +82,7 @@ export default async function priceAuthorityFromNotifier(
};

console.log('Getting wallet bridge...');
// @ts-expect-error inspecific Home type
const bridge = await E(home.wallet).getBridge();

// Consume an aggregator invitation for this instance.
Expand All @@ -94,6 +96,7 @@ export default async function priceAuthorityFromNotifier(
() => {},
);

// @ts-expect-error inspecific Home type
const walletAdmin = E(home.wallet).getAdminFacet();

console.log('=====================================================');
Expand All @@ -111,6 +114,7 @@ export default async function priceAuthorityFromNotifier(
const orKey = `offerResult ${id}`;
await E(home.scratch).set(
orKey,
// @ts-expect-error inspecific Home type
E(home.wallet).lookup('offerResult', id),
);
console.log(
Expand Down
1 change: 1 addition & 0 deletions packages/builders/scripts/testing/start-auto-stake-it.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export const startAutoStakeIt = async ({
installation,
terms: undefined,
privateArgs: await deeplyFulfilled(
// @ts-expect-error
harden({
agoricNames,
orchestrationService: cosmosInterchainService,
Expand Down
4 changes: 2 additions & 2 deletions packages/cache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"@agoric/notifier": "^0.6.2",
"@agoric/store": "^0.9.2",
"@agoric/vat-data": "^0.5.2",
"@endo/far": "^1.1.2",
"@endo/marshal": "^1.5.0"
"@endo/far": "^1.1.4",
"@endo/marshal": "^1.5.2"
},
"devDependencies": {
"@agoric/zoe": "^0.26.2",
Expand Down
14 changes: 7 additions & 7 deletions packages/casting/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@
"@cosmjs/proto-signing": "^0.32.3",
"@cosmjs/stargate": "^0.32.3",
"@cosmjs/tendermint-rpc": "^0.32.3",
"@endo/errors": "^1.2.2",
"@endo/far": "^1.1.2",
"@endo/init": "^1.1.2",
"@endo/lockdown": "^1.0.7",
"@endo/marshal": "^1.5.0",
"@endo/promise-kit": "^1.1.2",
"@endo/errors": "^1.2.4",
"@endo/far": "^1.1.4",
"@endo/init": "^1.1.3",
"@endo/lockdown": "^1.0.9",
"@endo/marshal": "^1.5.2",
"@endo/promise-kit": "^1.1.4",
"node-fetch": "^2.6.0"
},
"devDependencies": {
"@agoric/cosmic-proto": "^0.4.0",
"@endo/ses-ava": "^1.2.2",
"@endo/ses-ava": "^1.2.4",
"@types/node-fetch": "^2.6.2",
"ava": "^5.3.0",
"c8": "^9.1.0",
Expand Down
8 changes: 4 additions & 4 deletions packages/cosmic-proto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,17 +129,17 @@
"@agoric/cosmos": "^0.34.1",
"@ava/typescript": "^4.1.0",
"@cosmology/telescope": "^1.7.1",
"@endo/bundle-source": "^3.2.3",
"@endo/import-bundle": "^1.1.2",
"@endo/bundle-source": "^3.3.0",
"@endo/import-bundle": "^1.2.1",
"ava": "^5.3.1",
"rimraf": "^5.0.0",
"tsd": "^0.31.1",
"tsimp": "^2.0.11",
"typescript": "^5.5.3"
},
"dependencies": {
"@endo/base64": "^1.0.5",
"@endo/init": "^1.1.2"
"@endo/base64": "^1.0.6",
"@endo/init": "^1.1.3"
},
"resolutions": {
"**/axios": "^1.6.7",
Expand Down
Loading

0 comments on commit ae69fbd

Please sign in to comment.