From 6f5c965c71990fde2d3f72ad3bc1f8d4b4b0b68a Mon Sep 17 00:00:00 2001 From: Mathieu Hofman Date: Mon, 30 Sep 2024 03:57:14 +0000 Subject: [PATCH] fix(cosmic-swingset): installation publisher uses remotable storage messenger --- packages/cosmic-swingset/src/chain-main.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/cosmic-swingset/src/chain-main.js b/packages/cosmic-swingset/src/chain-main.js index 83f38f2aa6a..10b669da82a 100644 --- a/packages/cosmic-swingset/src/chain-main.js +++ b/packages/cosmic-swingset/src/chain-main.js @@ -11,7 +11,7 @@ import { resolve as importMetaResolve } from 'import-meta-resolve'; import tmp from 'tmp'; import { Fail, q } from '@endo/errors'; -import { E } from '@endo/far'; +import { E, Far } from '@endo/far'; import { makeMarshal } from '@endo/marshal'; import { isNat } from '@endo/nat'; import { M, mustMatch } from '@endo/patterns'; @@ -432,9 +432,9 @@ export default async function main(progname, args, { env, homedir, agcc }) { } } - const toStorage = message => { + const toStorage = Far('BridgeStorageHandler', message => { return doOutboundBridge(BridgeId.STORAGE, message); - }; + }); const makeInstallationPublisher = () => { const installationStorageNode = makeChainStorageRoot(