diff --git a/packages/orchestration/src/exos/orchestrator.js b/packages/orchestration/src/exos/orchestrator.js index 02087425537..e18505b8e9a 100644 --- a/packages/orchestration/src/exos/orchestrator.js +++ b/packages/orchestration/src/exos/orchestrator.js @@ -15,7 +15,7 @@ import { * @import {Zone} from '@agoric/base-zone'; * @import {ChainHub} from './chain-hub.js'; * @import {AsyncFlowTools} from '@agoric/async-flow'; - * @import {Vow} from '@agoric/vow'; + * @import {Vow, VowTools} from '@agoric/vow'; * @import {TimerService} from '@agoric/time'; * @import {LocalChain} from '@agoric/vats/src/localchain.js'; * @import {RecorderKit, MakeRecorderKit} from '@agoric/zoe/src/contractSupport/recorder.js'. @@ -50,12 +50,19 @@ export const OrchestratorI = M.interface('Orchestrator', { * orchestrationService: Remote; * storageNode: Remote; * timerService: Remote; + * vowTools: VowTools; * zcf: ZCF; * }} powers */ export const prepareOrchestrator = ( zone, - { chainHub, localchain, makeLocalChainFacade, makeRemoteChainFacade }, + { + chainHub, + localchain, + makeLocalChainFacade, + makeRemoteChainFacade, + vowTools: _vowTools, + }, ) => zone.exoClass( 'Orchestrator', diff --git a/packages/orchestration/src/facade.js b/packages/orchestration/src/facade.js index b4f6c97d81c..e52d87c85a4 100644 --- a/packages/orchestration/src/facade.js +++ b/packages/orchestration/src/facade.js @@ -34,6 +34,7 @@ import { prepareOrchestrator } from './exos/orchestrator.js'; * makeCosmosOrchestrationAccount: any; * makeLocalChainFacade: MakeLocalChainFacade; * makeRemoteChainFacade: MakeRemoteChainFacade; + * vowTools: VowTools; * asyncFlowTools: AsyncFlowTools; * }} powers */ @@ -49,6 +50,7 @@ export const makeOrchestrationFacade = ({ makeRecorderKit, makeLocalChainFacade, makeRemoteChainFacade, + vowTools, asyncFlowTools, }) => { (zone && @@ -75,6 +77,7 @@ export const makeOrchestrationFacade = ({ orchestrationService, storageNode, timerService, + vowTools, zcf, }); diff --git a/packages/orchestration/src/utils/start-helper.js b/packages/orchestration/src/utils/start-helper.js index c064bca441b..6b7db2acc96 100644 --- a/packages/orchestration/src/utils/start-helper.js +++ b/packages/orchestration/src/utils/start-helper.js @@ -98,6 +98,7 @@ export const provideOrchestration = ( makeLocalChainFacade, makeRemoteChainFacade, asyncFlowTools, + vowTools, ...remotePowers, }); return { ...facade, chainHub, zone };