Skip to content

Commit

Permalink
fix: startRewardDistributor should not wait for stakeFactory
Browse files Browse the repository at this point in the history
  • Loading branch information
dckc committed May 1, 2023
1 parent 9e7cd57 commit 74d3c82
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/inter-protocol/src/proposals/core-proposal.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ const REWARD_MANIFEST = harden({
bankManager: true,
vaultFactoryKit: true,
periodicFeeCollectors: true,
stakeFactoryKit: true,
// stakeFactoryKit: true,
reserveKit: true,
zoe: true,
},
Expand Down Expand Up @@ -208,7 +208,7 @@ export const getManifestForMain = (
},
) => {
return {
manifest: SHARED_MAIN_MANIFEST,
manifest: { ...SHARED_MAIN_MANIFEST, ...REWARD_MANIFEST },
installations: {
VaultFactory: restoreRef(installKeys.vaultFactory),
auctioneer: restoreRef(installKeys.auctioneer),
Expand Down
4 changes: 2 additions & 2 deletions packages/inter-protocol/src/proposals/econ-behaviors.js
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ export const startRewardDistributor = async ({
bankManager,
vaultFactoryKit,
periodicFeeCollectors,
stakeFactoryKit,
// stakeFactoryKit,
reserveKit,
zoe,
},
Expand Down Expand Up @@ -444,7 +444,7 @@ export const startRewardDistributor = async ({

const collectorKit = {
vaultFactory: E.get(vaultFactoryKit).creatorFacet,
runStake: E.get(stakeFactoryKit).creatorFacet,
// runStake: E.get(stakeFactoryKit).creatorFacet,
};
await Promise.all(
Object.entries(collectorKit).map(async ([debugName, collectorFacet]) => {
Expand Down

0 comments on commit 74d3c82

Please sign in to comment.