Skip to content

Commit

Permalink
fix(run-protocol): complete permits for startRewardDistributor, makeA…
Browse files Browse the repository at this point in the history
…nchorAsset (#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 <[email protected]>
  • Loading branch information
3 people authored Apr 25, 2022
1 parent adf5037 commit 2b2c966
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions packages/run-protocol/src/core-proposal.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ const REWARD_MANIFEST = harden({
loadVat: true,
vaultFactoryCreator: true,
ammCreatorFacet: true,
runStakeCreatorFacet: true,
zoe: true,
},
produce: {
Expand Down Expand Up @@ -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 },
},
Expand Down Expand Up @@ -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: {
Expand Down

0 comments on commit 2b2c966

Please sign in to comment.