From 127e18ecfd1616088f1e1fd9370e79bccd0704a3 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Thu, 10 Jun 2021 18:19:07 -0700 Subject: [PATCH] fix(swingset): add 'slogFile' option to buildVatController() 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. --- packages/SwingSet/src/controller.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/SwingSet/src/controller.js b/packages/SwingSet/src/controller.js index 71cdcbf61c0..0a535601319 100644 --- a/packages/SwingSet/src/controller.js +++ b/packages/SwingSet/src/controller.js @@ -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 */ @@ -424,6 +425,7 @@ export async function buildVatController( slogCallbacks, snapstorePath, warehousePolicy, + slogFile, } = runtimeOptions; const actualRuntimeOptions = { verbose, @@ -431,6 +433,7 @@ export async function buildVatController( slogCallbacks, snapstorePath, warehousePolicy, + slogFile, }; const initializationOptions = { verbose, kernelBundles }; let bootstrapResult;