Skip to content

Commit

Permalink
chore(run-protocol): 3-member committee for preview
Browse files Browse the repository at this point in the history
  • Loading branch information
dckc committed Apr 26, 2022
1 parent 50d8426 commit 6f83843
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/run-protocol/src/econ-behaviors.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const startEconomicCommittee = async (
},
electorateTerms = {
committeeName: 'Initial Economic Committee',
committeeSize: 1,
committeeSize: 3,
},
) => {
const { creatorFacet, instance } = await E(zoe).startInstance(
Expand Down
2 changes: 1 addition & 1 deletion packages/run-protocol/test/amm/vpool-xyk-amm/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const setupAMMBootstrap = async (
*/
export const setupAmmServices = async (
t,
electorateTerms,
electorateTerms = { committeeName: 'The Cabal', committeeSize: 1 },
centralR,
timer = buildManualTimer(console.log),
zoe,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ test.before(async t => {
test('start Economic Committee', async t => {
const space = await setupAMMBootstrap();
const { consume } = space;
startEconomicCommittee(space);
startEconomicCommittee(space, {
committeeName: 'The Cabal',
committeeSize: 1,
});
const agoricNames = await consume.agoricNames;
const instance = await E(agoricNames).lookup('instance', 'economicCommittee');
t.truthy(instance);
Expand Down
8 changes: 7 additions & 1 deletion packages/run-protocol/test/runStake/test-runStake.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,13 @@ const bootstrapRunStake = async (
});
produce.client.resolve(mockClient);

await Promise.all([startEconomicCommittee(space), startRunStake(space)]);
await Promise.all([
startEconomicCommittee(space, {
committeeName: 'Me, myself, and I',
committeeSize: 1,
}),
startRunStake(space),
]);
return { chain, space };
};

Expand Down
2 changes: 1 addition & 1 deletion packages/run-protocol/test/vaultFactory/test-liquidator.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ const setupAmmAndElectorate = async (t, aethLiquidity, runLiquidity) => {
const {
zoe,
aethKit: { issuer: aethIssuer },
electorateTerms,
electorateTerms = { committeeName: 'The Cabal', committeeSize: 1 },
timer,
} = t.context;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ const setupAmmAndElectorate = async (t, aethLiquidity, runLiquidity) => {
const {
zoe,
aethKit: { issuer: aethIssuer },
electorateTerms,
electorateTerms = { committeeName: 'The Cabal', committeeSize: 1 },
timer,
} = t.context;

Expand Down

0 comments on commit 6f83843

Please sign in to comment.