From 4117643a81be8f64700c25c3dede7bf650461592 Mon Sep 17 00:00:00 2001 From: Michael FIG Date: Thu, 8 Aug 2024 21:03:01 -0600 Subject: [PATCH] test(orch): update `network-fakes.js` for finalizers --- packages/orchestration/test/network-fakes.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/orchestration/test/network-fakes.ts b/packages/orchestration/test/network-fakes.ts index d7360331ab9..03bfe9ea419 100644 --- a/packages/orchestration/test/network-fakes.ts +++ b/packages/orchestration/test/network-fakes.ts @@ -2,6 +2,7 @@ import { VowTools } from '@agoric/vow'; import { prepareEchoConnectionKit, prepareLoopbackProtocolHandler, + prepareNetworkPowers, preparePortAllocator, prepareRouterProtocol, } from '@agoric/network'; @@ -279,8 +280,9 @@ export const setupFakeNetwork = ( zone: Zone, { vowTools }: { vowTools: VowTools }, ) => { - const makeRouterProtocol = prepareRouterProtocol(zone, vowTools); - const makePortAllocator = preparePortAllocator(zone, vowTools); + const powers = prepareNetworkPowers(zone, vowTools); + const makeRouterProtocol = prepareRouterProtocol(zone, powers); + const makePortAllocator = preparePortAllocator(zone, powers); const makeLoopbackProtocolHandler = prepareLoopbackProtocolHandler( zone, vowTools,