Skip to content

Commit

Permalink
test: drop redundant bundles in assetReserve test
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris-Hibbert committed Feb 5, 2025
1 parent b068711 commit af22f09
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions a3p-integration/proposals/n:upgrade-next/assetReserve.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ import {
waitUntilContractDeployed,
} from '@agoric/client-utils';

const ADD_PSM_DIR = 'addUsdLemons';
const UPGRADE_AR_DIR = 'upgradeAssetReserve';
const ADD_COLLATERAL = 'addCollateral';

const ambientAuthority = {
Expand Down Expand Up @@ -51,12 +49,12 @@ test.before(async t => {
};
});

test.serial('add collatoral to reserve', async t => {
test.serial('add Collateral to reserve', async t => {
// @ts-expect-error casting
const { vstorageKit } = t.context;

// Introduce USD_LEMONS
await evalBundles(ADD_PSM_DIR);
// USD_LEMONS introduced in provisionPool test
// await evalBundles(ADD_PSM_DIR);
await waitUntilContractDeployed('psm-IST-USD_LEMONS', ambientAuthority, {
errorMessage: 'psm-IST-USD_LEMONS instance not observed.',
});
Expand All @@ -75,8 +73,6 @@ test.serial('upgrade', async t => {
// @ts-expect-error casting
const { vstorageKit } = t.context;

await evalBundles(UPGRADE_AR_DIR);

const vatDetailsAfter = await getDetailsMatchingVats('reserve');
const { incarnation } = vatDetailsAfter.find(vat => vat.vatID === 'v36'); // assetReserve is v36

Expand Down

0 comments on commit af22f09

Please sign in to comment.