Skip to content

Commit

Permalink
fix: declare installation
Browse files Browse the repository at this point in the history
  • Loading branch information
erights committed Jan 11, 2021
1 parent 1cf45b9 commit a9474e0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/zoe/src/zoeService/zoe.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import { makeIssuerKit, MathKind } from '@agoric/ertp';
import '../../exported';
import '../internal-types';

import { Remotable } from '@agoric/marshal';
import { makeIssuerTable } from '../issuerTable';
import { makeZoeSeatAdminKit } from './zoeSeat';
import zcfContractBundle from '../../bundles/bundle-contractFacet';
Expand Down Expand Up @@ -57,7 +58,9 @@ function makeZoe(vatAdminSvc, zcfBundleName = undefined) {
const install = async bundle => {
assert(bundle, `a bundle must be provided`);
/** @type {Installation} */
const installation = { getBundle: () => bundle };
const installation = Remotable('Alleged: Installation', undefined, {
getBundle: () => bundle,
});
harden(installation);
installations.add(installation);
return installation;
Expand Down

0 comments on commit a9474e0

Please sign in to comment.