diff --git a/packages/boot/test/bootstrapTests/ec-membership-update.test.ts b/packages/boot/test/bootstrapTests/ec-membership-update.test.ts index 164b7f710e8..3865cb87432 100644 --- a/packages/boot/test/bootstrapTests/ec-membership-update.test.ts +++ b/packages/boot/test/bootstrapTests/ec-membership-update.test.ts @@ -59,6 +59,23 @@ export const makeZoeTestContext = async t => { await EV.vat('bootstrap').consumeItem('vaultFactoryKit'); console.timeLog('DefaultTestContext', 'vaultFactoryKit'); + // replaceElectorate relies on these values from the auction upgrade. Insert + // them manually since this bootstrap test doesn't run the auction upgrade. + const governedKits = await EV.vat('bootstrap').consumeItem( + 'governedContractKits', + ); + const auctioneerKit = await EV.vat('bootstrap').consumeItem('auctioneerKit'); + const auctionInstance = await auctioneerKit.instance; + const aKit = await EV(governedKits).get(auctionInstance); + await EV.vat('bootstrap').produceItem( + 'auctionUpgradeNewInstance', + aKit.instance, + ); + await EV.vat('bootstrap').produceItem( + 'auctionUpgradeNewGovCreator', + aKit.governorCreatorFacet, + ); + // has to be late enough for agoricNames data to have been published const agoricNamesRemotes = makeAgoricNamesRemotesFromFakeStorage(storage); console.timeLog('DefaultTestContext', 'agoricNamesRemotes');