Skip to content

Commit

Permalink
chore: cleanups from CI: addresses are a record; permit for Charter
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris-Hibbert committed Sep 8, 2022
1 parent f964824 commit 541e027
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions packages/inter-protocol/src/proposals/startPSM.js
Original file line number Diff line number Diff line change
Expand Up @@ -386,14 +386,14 @@ export const invitePSMCommitteeMembers = async (
invitationP,
E(creatorFacet).makeCharterMemberInvitation(),
]);
console.log('@@@sending charter, voting invitations to', addr);
console.log('sending charter, voting invitations to', addr);
await reserveThenDeposit(
`econ committee member ${addr}`,
namesByAddressAdmin,
addr,
[voterInvitation, charterMemberInvitation],
);
console.log('@@@sent charter, voting invitations to', addr);
console.log('sent charter, voting invitations to', addr);
}),
);
};
Expand Down Expand Up @@ -447,7 +447,7 @@ export const PSM_MANIFEST = harden({
psmFacets: true,
},
installation: {
consume: { binaryVoteCounter: true },
consume: { binaryVoteCounter: true, psmCharter: true },
},
},
});
Expand Down
2 changes: 1 addition & 1 deletion packages/smart-wallet/test/test-psm-integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const committeeAddress = 'psmTestAddress';
const makePsmTestSpace = async log => {
const psmParams = {
anchorAssets: [{ denom: 'ibc/usdc1234', keyword: 'AUSD' }],
economicCommitteeAddresses: [committeeAddress],
economicCommitteeAddresses: { aMember: committeeAddress },
argv: { bootMsg: {} },
};

Expand Down
2 changes: 1 addition & 1 deletion packages/vats/src/core/boot-psm.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export const buildRootObject = (vatPowers, vatParameters) => {

const { anchorAssets, economicCommitteeAddresses } = vatParameters;
fit(harden(anchorAssets), M.arrayOf(AnchorOptionsShape));
fit(harden(economicCommitteeAddresses), M.arrayOf(M.string()));
fit(harden(economicCommitteeAddresses), M.recordOf(M.string(), M.string()));

const { produce, consume } = makePromiseSpace(log);
const { agoricNames, agoricNamesAdmin, spaces } = makeAgoricNamesAccess(
Expand Down
2 changes: 1 addition & 1 deletion packages/vats/test/test-boot.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ test('bootstrap provides a way to pass items to CORE_EVAL', async t => {

const psmParams = {
anchorAssets: [{ denom: 'ibc/toyusdc' }],
economicCommitteeAddresses: [],
economicCommitteeAddresses: {},
argv: { bootMsg: {} },
};

Expand Down

0 comments on commit 541e027

Please sign in to comment.