Skip to content

Commit

Permalink
chore: export and harden replaceCommitteeAndCharter
Browse files Browse the repository at this point in the history
  • Loading branch information
rabi-siddique committed Sep 26, 2024
1 parent ee927b8 commit 05d2cf7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ const shutdown = async ({
trace('EC Charter shutdown successful');
};

const replaceCommitteeAndCharter = async permittedPowers => {
export const replaceCommitteeAndCharter = async permittedPowers => {
await shutdown(permittedPowers);
await startNewEconomicCommittee(permittedPowers);
await startNewEconCharter(permittedPowers);
Expand Down Expand Up @@ -377,6 +377,7 @@ const replaceCommitteeAndCharter = async permittedPowers => {
trace('Installed New Economic Committee');
};

harden(replaceCommitteeAndCharter);
export const getManifestForReplaceCommitteeAndCharter = async ({
economicCommitteeRef: _economicCommitteeRef,
economicCharterRef: _economicCharterRef,
Expand Down

0 comments on commit 05d2cf7

Please sign in to comment.