Skip to content

Commit

Permalink
fixup! test(boot): thread computron counter thru test context
Browse files Browse the repository at this point in the history
  • Loading branch information
dckc committed Nov 27, 2024
1 parent 5e4e8e9 commit 234a073
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/boot/tools/liquidation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
} from '@agoric/vats/tools/board-utils.js';
import { Offers } from '@agoric/inter-protocol/src/clientSupport.js';
import type { ExecutionContext } from 'ava';
import { insistManagerType, makePolicyProvider } from './supports.js';
import { insistManagerType, makeRunPolicyProvider } from './supports.js';
import { type SwingsetTestKit, makeSwingsetTestKit } from './supports.js';
import {
type GovernanceDriver,
Expand Down Expand Up @@ -323,7 +323,7 @@ export const makeLiquidationTestContext = async (
} = env;
assertManagerType(defaultManagerType);
const perfTool =
defaultManagerType === 'xsnap' ? makePolicyProvider() : undefined;
defaultManagerType === 'xsnap' ? makeRunPolicyProvider() : undefined;
const swingsetTestKit = await makeSwingsetTestKit(t.log, undefined, {
slogFile,
defaultManagerType,
Expand Down
2 changes: 1 addition & 1 deletion packages/boot/tools/supports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ export const makeSwingsetTestKit = async (
};
export type SwingsetTestKit = Awaited<ReturnType<typeof makeSwingsetTestKit>>;

export const makePolicyProvider = () => {
export const makeRunPolicyProvider = () => {
const c2b = defaultBeansPerXsnapComputron;
const mainParams = {
// see https://cosgov.org/agoric?msgType=parameterChangeProposal&network=main
Expand Down

0 comments on commit 234a073

Please sign in to comment.