Skip to content

Commit

Permalink
chore: use startUpgradable
Browse files Browse the repository at this point in the history
  • Loading branch information
rabi-siddique committed Oct 10, 2024
1 parent 6ebf525 commit 78581b1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions packages/inter-protocol/src/proposals/replaceElectorate.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ const startNewEconomicCommittee = async (
* charter kit result.
*/
const startNewEconCharter = async ({
consume: { zoe },
consume: { startUpgradable },
produce: { econCharterKit },
installation: {
consume: { binaryVoteCounter: counterP, econCommitteeCharter: installP },
Expand All @@ -288,13 +288,13 @@ const startNewEconCharter = async ({
});

trace('Starting new EC Charter Instance');
const startResult = E(zoe).startInstance(
charterInstall,
undefined,

const startResult = await E(startUpgradable)({
label: 'econCommitteeCharter',
installation: charterInstall,
terms,
undefined,
'econCommitteeCharter',
);
});

trace('Started new EC Charter Instance Successfully');

econCommitteeCharter.reset();
Expand Down

0 comments on commit 78581b1

Please sign in to comment.