Skip to content

Commit

Permalink
fix(cosmic-swingset): stop using install-metering-and-ses
Browse files Browse the repository at this point in the history
All metered vats should now be using xsnap, so we no longer need to meter
'local' vats, and can remove the performance-costly global metering wrapper.

refs #3373
  • Loading branch information
warner authored and kriskowal committed Jun 22, 2021
1 parent 08db1f7 commit c23766e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/cosmic-swingset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@agoric/cosmos": "^0.26.4",
"@agoric/dapp-svelte-wallet": "^0.10.4",
"@agoric/import-bundle": "^0.2.16",
"@agoric/install-metering-and-ses": "^0.2.15",
"@agoric/install-ses": "^0.5.15",
"@agoric/store": "^0.4.16",
"@agoric/swing-store-lmdb": "^0.5.1",
"@agoric/swingset-vat": "^0.18.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/cosmic-swingset/src/entrypoint.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import '@agoric/babel-standalone';

// we need to enable Math.random as a workaround for 'brace-expansion' module
// (dep chain: temp->glob->minimatch->brace-expansion)
import '@agoric/install-metering-and-ses';
import '@agoric/install-ses';

import os from 'os';
import path from 'path';
Expand Down

0 comments on commit c23766e

Please sign in to comment.