diff --git a/packages/orchestration/src/proposals/start-stakeAtom.js b/packages/orchestration/src/proposals/start-stakeAtom.js index c41e07b486da..c1d3c34cc458 100644 --- a/packages/orchestration/src/proposals/start-stakeAtom.js +++ b/packages/orchestration/src/proposals/start-stakeAtom.js @@ -3,12 +3,12 @@ import { makeTracer } from '@agoric/internal'; import { makeStorageNodeChild } from '@agoric/internal/src/lib-chainStorage.js'; import { E } from '@endo/far'; -/** @import { StakeAtomSF, StakeAtomTerms} from '../contracts/stakeAtom.contract' */ +/** @import { StakeAtomSF, StakeAtomTerms} from '../../test/examples/stakeAtom.contract' */ const trace = makeTracer('StartStakeAtom', true); /** - * @param {BootstrapPowers & { installation: {consume: {stakeAtom: Installation}}}} powers + * @param {BootstrapPowers & { installation: {consume: {stakeAtom: Installation}}}} powers * @param {{options: StakeAtomTerms }} options */ export const startStakeAtom = async ( diff --git a/packages/orchestration/src/proposals/start-stakeBld.js b/packages/orchestration/src/proposals/start-stakeBld.js index 66a49603c7fb..f70a4b12a354 100644 --- a/packages/orchestration/src/proposals/start-stakeBld.js +++ b/packages/orchestration/src/proposals/start-stakeBld.js @@ -6,7 +6,7 @@ import { E } from '@endo/far'; const trace = makeTracer('StartStakeBld', true); /** - * @param {BootstrapPowers & {installation: {consume: {stakeBld: Installation}}}} powers + * @param {BootstrapPowers & {installation: {consume: {stakeBld: Installation}}}} powers */ export const startStakeBld = async ({ consume: { board, chainStorage, localchain, startUpgradable }, @@ -29,7 +29,7 @@ export const startStakeBld = async ({ const marshaller = await E(board).getPublishingMarshaller(); // FIXME this isn't detecting missing privateArgs - /** @type {StartUpgradableOpts} */ + /** @type {StartUpgradableOpts} */ const startOpts = { label: 'stakeBld', installation: stakeBld, diff --git a/packages/orchestration/src/contracts/stakeAtom.contract.js b/packages/orchestration/test/examples/stakeAtom.contract.js similarity index 94% rename from packages/orchestration/src/contracts/stakeAtom.contract.js rename to packages/orchestration/test/examples/stakeAtom.contract.js index becca5d59193..94e54236e897 100644 --- a/packages/orchestration/src/contracts/stakeAtom.contract.js +++ b/packages/orchestration/test/examples/stakeAtom.contract.js @@ -7,11 +7,11 @@ import { makeDurableZone } from '@agoric/zone/durable.js'; import { V as E } from '@agoric/vat-data/vow.js'; import { M } from '@endo/patterns'; import { prepareRecorderKitMakers } from '@agoric/zoe/src/contractSupport'; -import { prepareStakingAccountHolder } from './stakingAccountHolder.js'; +import { prepareStakingAccountHolder } from '../../src/contracts/stakingAccountHolder.js'; const trace = makeTracer('StakeAtom'); /** - * @import { OrchestrationService } from '../service.js' + * @import { OrchestrationService } from '../../src/service.js' * @import { Baggage } from '@agoric/vat-data'; * @import { IBCConnectionID } from '@agoric/vats'; */ diff --git a/packages/orchestration/src/contracts/stakeBld.contract.js b/packages/orchestration/test/examples/stakeBld.contract.js similarity index 96% rename from packages/orchestration/src/contracts/stakeBld.contract.js rename to packages/orchestration/test/examples/stakeBld.contract.js index 195f9ae56867..87db1410e228 100644 --- a/packages/orchestration/src/contracts/stakeBld.contract.js +++ b/packages/orchestration/test/examples/stakeBld.contract.js @@ -10,7 +10,7 @@ import { M } from '@endo/patterns'; import { E } from '@endo/far'; import { prepareRecorderKitMakers } from '@agoric/zoe/src/contractSupport/recorder.js'; import { atomicTransfer } from '@agoric/zoe/src/contractSupport/atomicTransfer.js'; -import { prepareAccountHolder } from './localchainAccountHolder.js'; +import { prepareAccountHolder } from '../../src/contracts/localchainAccountHolder.js'; const trace = makeTracer('StakeBld'); diff --git a/packages/orchestration/src/contracts/swapExample.contract.js b/packages/orchestration/test/examples/swapExample.contract.js similarity index 93% rename from packages/orchestration/src/contracts/swapExample.contract.js rename to packages/orchestration/test/examples/swapExample.contract.js index 1694f9568b7b..1db41515dc55 100644 --- a/packages/orchestration/src/contracts/swapExample.contract.js +++ b/packages/orchestration/test/examples/swapExample.contract.js @@ -3,14 +3,14 @@ import { Fail } from '@agoric/assert'; import { AmountMath, AmountShape } from '@agoric/ertp'; import { E, Far } from '@endo/far'; import { M } from '@endo/patterns'; -import { makeOrchestrationFacade } from '../facade.js'; -import { orcUtils } from '../utils/orc.js'; +import { makeOrchestrationFacade } from '../../src/facade.js'; +import { orcUtils } from '../../src/utils/orc.js'; /** - * @import {Orchestrator, ChainAccount, CosmosValidatorAddress} from '../types.js' + * @import {Orchestrator, ChainAccount, CosmosValidatorAddress} from '../../src/types.js' * @import {TimerService} from '@agoric/time'; * @import {ERef} from '@endo/far' - * @import {OrchestrationService} from '../service.js'; + * @import {OrchestrationService} from '../../src/service.js'; * @import {Zone} from '@agoric/zone'; */ diff --git a/packages/orchestration/src/contracts/unbondExample.contract.js b/packages/orchestration/test/examples/unbondExample.contract.js similarity index 94% rename from packages/orchestration/src/contracts/unbondExample.contract.js rename to packages/orchestration/test/examples/unbondExample.contract.js index b190010bd0ed..50daa3688f3c 100644 --- a/packages/orchestration/src/contracts/unbondExample.contract.js +++ b/packages/orchestration/test/examples/unbondExample.contract.js @@ -3,13 +3,13 @@ import { Fail } from '@agoric/assert'; import { AmountMath, AmountShape } from '@agoric/ertp'; import { Far } from '@endo/far'; import { M } from '@endo/patterns'; -import { makeOrchestrationFacade } from '../facade.js'; +import { makeOrchestrationFacade } from '../../src/facade.js'; /** - * @import {Orchestrator, ChainAccount, CosmosValidatorAddress} from '../types.js' + * @import {Orchestrator, ChainAccount, CosmosValidatorAddress} from '../../src/types.js' * @import {TimerService} from '@agoric/time'; * @import {ERef} from '@endo/far' - * @import {OrchestrationService} from '../service.js'; + * @import {OrchestrationService} from '../../src/service.js'; * @import {Zone} from '@agoric/zone'; */