From 26d1f6e5dc720fa2c0a75a342feee80dc067df67 Mon Sep 17 00:00:00 2001 From: Dan Connolly Date: Mon, 3 Jan 2022 11:30:29 -0600 Subject: [PATCH] fixup: no more Zoe metering config --- packages/vats/src/bootstrap-core.js | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/packages/vats/src/bootstrap-core.js b/packages/vats/src/bootstrap-core.js index 14aa96b7918..44a68daef8d 100644 --- a/packages/vats/src/bootstrap-core.js +++ b/packages/vats/src/bootstrap-core.js @@ -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 @@ -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); }, }); }