From 7144cac5c112592b051e311ce68d2dcc6c037268 Mon Sep 17 00:00:00 2001 From: Chris Hibbert Date: Tue, 25 Jun 2024 18:09:49 -0700 Subject: [PATCH] test: repair test by dropping upgrade of scaledPriceAuthorities --- .../proposals/a:upgrade-next/upgradeVaults.test.js | 4 +--- golang/cosmos/app/app.go | 2 -- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/a3p-integration/proposals/a:upgrade-next/upgradeVaults.test.js b/a3p-integration/proposals/a:upgrade-next/upgradeVaults.test.js index 8ede7583fe92..1670cdd2e92f 100644 --- a/a3p-integration/proposals/a:upgrade-next/upgradeVaults.test.js +++ b/a3p-integration/proposals/a:upgrade-next/upgradeVaults.test.js @@ -100,9 +100,7 @@ const verifyVaultPriceUpdate = async t => { const quote = await getVaultPrices(0); t.true(quote.value[0].amountIn.brand.includes(' ATOM ')); - - // FAIL, should be +5200000 - t.is(quote.value[0].amountOut.value, '12010000'); + t.is(quote.value[0].amountOut.value, '+5200000'); }; // test.serial() isn't guaranteed to run tests in order, so we run the intended tests here diff --git a/golang/cosmos/app/app.go b/golang/cosmos/app/app.go index 6ba478544c29..997634dd9269 100644 --- a/golang/cosmos/app/app.go +++ b/golang/cosmos/app/app.go @@ -959,8 +959,6 @@ func unreleasedUpgradeHandler(app *GaiaApp, targetUpgrade string) func(sdk.Conte vm.CoreProposalStepForModules("@agoric/builders/scripts/vats/add-auction.js"), // upgrade vaultFactory. vm.CoreProposalStepForModules("@agoric/builders/scripts/vats/upgradeVaults.js"), - // upgrade scaledPriceAuthorities. - vm.CoreProposalStepForModules("@agoric/builders/scripts/vats/upgradeScaledPriceAuthorities.js"), } }