Skip to content

Commit

Permalink
chore(orchestrator): remove unused powers
Browse files Browse the repository at this point in the history
  • Loading branch information
0xpatrickdev committed Oct 11, 2024
1 parent a324268 commit fb69394
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
12 changes: 0 additions & 12 deletions packages/orchestration/src/exos/orchestrator.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,10 @@ export const OrchestratorI = M.interface('Orchestrator', {
/**
* @param {Zone} zone
* @param {{
* asyncFlowTools: AsyncFlowTools;
* chainHub: ChainHub;
* makeRecorderKit: MakeRecorderKit;
* makeLocalChainFacade: MakeLocalChainFacade;
* makeRemoteChainFacade: MakeRemoteChainFacade;
* orchestrationService: Remote<CosmosInterchainService>;
* storageNode: Remote<StorageNode>;
* timerService: Remote<TimerService>;
* vowTools: VowTools;
* zcf: ZCF;
* }} powers
*/
const prepareOrchestratorKit = (
Expand Down Expand Up @@ -175,16 +169,10 @@ harden(prepareOrchestratorKit);
/**
* @param {Zone} zone
* @param {{
* asyncFlowTools: AsyncFlowTools;
* chainHub: ChainHub;
* makeRecorderKit: MakeRecorderKit;
* makeLocalChainFacade: MakeLocalChainFacade;
* makeRemoteChainFacade: MakeRemoteChainFacade;
* orchestrationService: Remote<CosmosInterchainService>;
* storageNode: Remote<StorageNode>;
* timerService: Remote<TimerService>;
* vowTools: VowTools;
* zcf: ZCF;
* }} powers
*/
export const prepareOrchestrator = (zone, powers) => {
Expand Down
6 changes: 0 additions & 6 deletions packages/orchestration/src/utils/start-helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,16 +130,10 @@ export const provideOrchestration = (
});

const makeOrchestrator = prepareOrchestrator(zones.orchestration, {
asyncFlowTools,
chainHub,
makeRecorderKit,
makeLocalChainFacade,
makeRemoteChainFacade,
storageNode: remotePowers.storageNode,
orchestrationService: remotePowers.orchestrationService,
timerService,
vowTools,
zcf,
});

/**
Expand Down

0 comments on commit fb69394

Please sign in to comment.