Skip to content

Commit

Permalink
chore: use startUpgradable
Browse files Browse the repository at this point in the history
  • Loading branch information
rabi-siddique authored and frazarshad committed Oct 8, 2024
1 parent ce4245c commit aef84d0
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 @@ -271,7 +271,7 @@ const startNewEconomicCommittee = async (
* charter kit result.
*/
const startNewEconCharter = async ({
consume: { zoe },
consume: { startUpgradable },
produce: { econCharterKit },
installation: {
consume: { binaryVoteCounter: counterP, econCommitteeCharter: installP },
Expand All @@ -289,13 +289,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 aef84d0

Please sign in to comment.