From 07678cc558731d8590854f45eb41ba5afb43a55f Mon Sep 17 00:00:00 2001 From: Chris Hibbert Date: Mon, 4 Dec 2023 16:12:27 -0800 Subject: [PATCH] chore: more clean ups --- packages/smart-wallet/src/smartWallet.js | 1 - packages/swingset-liveslots/tools/fakeVirtualSupport.js | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/smart-wallet/src/smartWallet.js b/packages/smart-wallet/src/smartWallet.js index 1e5f981bf804..758c9f028aeb 100644 --- a/packages/smart-wallet/src/smartWallet.js +++ b/packages/smart-wallet/src/smartWallet.js @@ -364,7 +364,6 @@ export const prepareSmartWallet = (baggage, shared) => { AmountShape, M.remotable('InvitationMaker'), M.or(M.record(), M.undefined()), - M.string(), ).returns(M.promise()), purseForBrand: M.call(BrandShape).returns(M.promise()), }), diff --git a/packages/swingset-liveslots/tools/fakeVirtualSupport.js b/packages/swingset-liveslots/tools/fakeVirtualSupport.js index c38d06017652..f67570358ad3 100644 --- a/packages/swingset-liveslots/tools/fakeVirtualSupport.js +++ b/packages/swingset-liveslots/tools/fakeVirtualSupport.js @@ -159,8 +159,10 @@ export function makeFakeLiveSlotsStuff(options = {}) { return exportID; } + let nextPromiseID = 5; function allocatePromiseID() { - const promiseID = vrm.allocateNextID('promiseID'); + const promiseID = nextPromiseID; + nextPromiseID += 1; return makeVatSlot('promise', true, promiseID); }