Skip to content

Commit

Permalink
fix(swingset): add 'slogFile' option to buildVatController()
Browse files Browse the repository at this point in the history
This was available on the "real" `makeSwingsetController()` API, but not the
`buildVatController` convenience API, which is still in use by a number of
unit tests.
  • Loading branch information
warner committed Jun 11, 2021
1 parent a2e525a commit 127e18e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/SwingSet/src/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,7 @@ export async function makeSwingsetController(
* testTrackDecref?: unknown,
* snapstorePath?: string,
* warehousePolicy?: { maxVatsOnline?: number },
* slogFile?: string,
* }} runtimeOptions
* @typedef { import('@agoric/swing-store-simple').KVStore } KVStore
*/
Expand All @@ -424,13 +425,15 @@ export async function buildVatController(
slogCallbacks,
snapstorePath,
warehousePolicy,
slogFile,
} = runtimeOptions;
const actualRuntimeOptions = {
verbose,
debugPrefix,
slogCallbacks,
snapstorePath,
warehousePolicy,
slogFile,
};
const initializationOptions = { verbose, kernelBundles };
let bootstrapResult;
Expand Down

0 comments on commit 127e18e

Please sign in to comment.