diff --git a/packages/orchestration/test/facade.test.ts b/packages/orchestration/test/facade.test.ts index cf5c0dc43ad..3d637205a91 100644 --- a/packages/orchestration/test/facade.test.ts +++ b/packages/orchestration/test/facade.test.ts @@ -48,44 +48,4 @@ test('chain info', async t => { t.deepEqual(await result.getChainInfo(), mockChainInfo); }); -// XXX what to do with this test now that chainInfos is the caller's responsibility? -test('contract upgrade', async t => { - const { bootstrap, facadeServices } = await commonSetup(t); - - const zone = bootstrap.rootZone; - - const { zcf } = await setupZCFTest(); - - // Register once - { - const chainHub = makeChainHub(facadeServices.agoricNames); - makeOrchestrationFacade({ - ...facadeServices, - storageNode: bootstrap.storage.rootNode, - zcf, - zone, - chainHub, - makeLocalChainAccountKit, - }); - chainHub.registerChain('mock', mockChainInfo); - - // cannot register again in this incarnation - t.throws(() => chainHub.registerChain('mock', mockChainInfo), { - message: /already registered/, - }); - } - - // Simulate running again in a new incarnation with the same zone - { - const chainHub = makeChainHub(facadeServices.agoricNames); - makeOrchestrationFacade({ - ...facadeServices, - storageNode: bootstrap.storage.rootNode, - zcf, - zone, - chainHub, - makeLocalChainAccountKit, - }); - chainHub.registerChain('mock', mockChainInfo); - } -}); +test.todo('contract upgrade');