From 2b2c9666f5cb51f584ab04f187aa12c03f415437 Mon Sep 17 00:00:00 2001 From: Dan Connolly Date: Mon, 25 Apr 2022 15:47:30 -0500 Subject: [PATCH] fix(run-protocol): complete permits for startRewardDistributor, makeAnchorAsset (#5213) * fix(run-protocol): startRewardDistributor needs runStakeCreatorFacet * fix(run-protocol): complete makeAnchorAsset permit - needs zoe, installation.mintHolder * fix: include RUN_STAKE_MANIFEST in MAIN_MANIFEST Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by: Mathieu Hofman <86499+mhofman@users.noreply.github.com> --- packages/run-protocol/src/core-proposal.js | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/packages/run-protocol/src/core-proposal.js b/packages/run-protocol/src/core-proposal.js index 2936ecbb4de..1ecc3fd4a5b 100644 --- a/packages/run-protocol/src/core-proposal.js +++ b/packages/run-protocol/src/core-proposal.js @@ -137,6 +137,7 @@ const REWARD_MANIFEST = harden({ loadVat: true, vaultFactoryCreator: true, ammCreatorFacet: true, + runStakeCreatorFacet: true, zoe: true, }, produce: { @@ -192,14 +193,10 @@ export const CHAIN_POST_BOOT_MANIFEST = harden({ ...RUN_STAKE_MANIFEST, }); -const MAIN_MANIFEST = harden({ - ...SHARED_MAIN_MANIFEST, - ...REWARD_MANIFEST, -}); - const PSM_MANIFEST = harden({ makeAnchorAsset: { - consume: { bankManager: 'bank' }, + consume: { bankManager: 'bank', zoe: 'zoe' }, + installation: { consume: { mintHolder: 'zoe' } }, issuer: { produce: { AUSD: true }, }, @@ -231,6 +228,13 @@ const PSM_MANIFEST = harden({ }, }); +const MAIN_MANIFEST = harden({ + ...SHARED_MAIN_MANIFEST, + ...RUN_STAKE_MANIFEST, + ...REWARD_MANIFEST, + ...PSM_MANIFEST, +}); + export const SIM_CHAIN_POST_BOOT_MANIFEST = harden({ ...SHARED_POST_BOOT_MANIFEST, fundAMM: {