Skip to content

Commit

Permalink
fixup(liquidationVisibility): drop references to `LiquidationVisibili…
Browse files Browse the repository at this point in the history
…ty` in core-eval

Refs: #35
  • Loading branch information
anilhelvaci committed Jun 17, 2024
1 parent 1ce09ca commit 49a3e10
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/inter-protocol/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"scripts": {
"build": "yarn build:bundles",
"build:bundles": "node ./scripts/build-bundles.js",
"build:upgrade-vaults-proposal": "agoric run scripts/liquidation-visibility-upgrade.js",
"build:upgrade-vaults-proposal": "agoric run scripts/upgrade-vaults.js",
"test": "ava",
"test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js",
"test:xs": "exit 0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { makeHelpers } from '@agoric/deploy-script-support';
import { makeInstallCache } from '../src/proposals/utils.js';
import { getManifestVaultsUpgrade } from '../src/proposals/vaultsLiquidationVisibility.js';
import { getManifestVaultsUpgrade } from '../src/proposals/vaultsUpgrade.js';

/** @type {import('@agoric/deploy-script-support/src/externalTypes.js').ProposalBuilder} */
export const vaultsUpgradeProposalBuilder = async ({
Expand All @@ -11,7 +11,7 @@ export const vaultsUpgradeProposalBuilder = async ({
const install = wrapInstall ? wrapInstall(install0) : install0;

return harden({
sourceSpec: '../src/proposals/vaultsLiquidationVisibility.js',
sourceSpec: '../src/proposals/vaultsUpgrade.js',
getManifestCall: [
getManifestVaultsUpgrade.name,
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { E } from '@endo/far';

export const upgradeVaultsLiquidationVisibility = async (
export const upgradeVaults = async (
powers,
{ options: { vaultFactoryRef } },
) => {
Expand All @@ -19,7 +19,7 @@ export const upgradeVaultsLiquidationVisibility = async (

/** @type { import("@agoric/vats/src/core/lib-boot").BootstrapManifest } */
const manifest = {
[upgradeVaultsLiquidationVisibility.name]: {
[upgradeVaults.name]: {
// include rationale for closely-held, high authority capabilities
consume: {
vaultFactoryKit: `to upgrade vaultFactory using its adminFacet`,
Expand Down

0 comments on commit 49a3e10

Please sign in to comment.