diff --git a/packages/builders/scripts/testing/recorded-retired-instances.js b/packages/builders/scripts/testing/recorded-retired-instances.js index 4b0bdf17034..1f37e892a0d 100644 --- a/packages/builders/scripts/testing/recorded-retired-instances.js +++ b/packages/builders/scripts/testing/recorded-retired-instances.js @@ -33,14 +33,17 @@ export const testRecordedRetiredInstances = async ({ ); assert(committeeIDs); assert(committeeIDs.length === 1); + trace('found committeeIDs', committeeIDs); + const committeeInstance = retiredContractInstances.get(committeeIDs[0]); assert(await E(contractKits).get(committeeInstance)); - const charterIDs = Array.from(retiredContractInstances.keys()).filter(k => + const charterIDs = [...retiredContractInstances.keys()].filter(k => k.startsWith('econCommitteeCharter'), ); assert(charterIDs); assert(charterIDs.length === 1); + trace('found charterID', charterIDs); trace('done'); }; diff --git a/packages/inter-protocol/src/proposals/replaceElectorate.js b/packages/inter-protocol/src/proposals/replaceElectorate.js index 301566f66b9..efaa4ccd0b1 100644 --- a/packages/inter-protocol/src/proposals/replaceElectorate.js +++ b/packages/inter-protocol/src/proposals/replaceElectorate.js @@ -333,7 +333,7 @@ const startNewEconCharter = async ({ ]); const label = 'econCommitteeCharter'; - const previousCharterKit = { label, ...econCharterKit }; + const previousCharterKit = { ...econCharterKit, label }; const boardID = await E(board).getId(previousCharterKit.instance); const identifier = `${label}-${boardID}`; @@ -365,7 +365,7 @@ const startNewEconCharter = async ({ trace('Starting new EC Charter Instance'); - const terms = await harden({ + const terms = harden({ binaryVoteCounterInstallation: counterInstall, }); const startResult = await E(startUpgradable)({