Skip to content

Commit

Permalink
fixup: no more Zoe metering config
Browse files Browse the repository at this point in the history
  • Loading branch information
dckc committed Jan 3, 2022
1 parent 0cb17ed commit 26d1f6e
Showing 1 changed file with 4 additions and 18 deletions.
22 changes: 4 additions & 18 deletions packages/vats/src/bootstrap-core.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
// @ts-check
import { E, Far } from '@agoric/far';
import {
feeIssuerConfig,
meteringConfig,
zoeFeesConfig,
} from './bootstrap-zoe-config';
import { feeIssuerConfig } from './bootstrap-zoe-config';

/**
* @typedef { import('@agoric/eventual-send').EProxy } EProxy
Expand Down Expand Up @@ -57,23 +53,13 @@ export function buildRootObject(vatPowers, _vatParameters) {
bootstrap: async (vats, devices) => {
await connectVattpWithMailbox(vats.vattp, devices.mailbox);

const chainTimerServiceP = E(vats.timer).createTimerService(
devices.timer,
);
const vatAdminSvcP = E(vats.vatAdmin).createVatAdminService(
devices.vatAdmin,
);

const {
zoeService: _zoe,
feeMintAccess: _2,
feeCollectionPurse: _3,
} = await E(vats.zoe).buildZoe(
vatAdminSvcP,
feeIssuerConfig,
zoeFeesConfig(chainTimerServiceP),
meteringConfig,
);
const { zoeService: _zoe, feeMintAccess: _2 } = await E(
vats.zoe,
).buildZoe(vatAdminSvcP, feeIssuerConfig);
},
});
}

0 comments on commit 26d1f6e

Please sign in to comment.