Skip to content

Commit

Permalink
chore: minor cleanups from review
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris-Hibbert committed Jul 31, 2024
1 parent 1eab8fc commit 87bd81d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions golang/cosmos/app/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ func upgradePriceFeedCoreProposalSteps(upgradeName string) ([]vm.CoreProposalSte
return []vm.CoreProposalStep{
// Add new vats for price feeds. The existing ones will be retired shortly.
vm.CoreProposalStepForModules(proposals...),
// add new scaledPriceAuthorities. The existing ones will be retired shortly.
vm.CoreProposalStepForModules("@agoric/builders/scripts/vats/replaceScaledPriceAuthorities.js"),
// add new scaledPriceAuthorities. The existing ones will be retired shortly.
vm.CoreProposalStepForModules("@agoric/builders/scripts/vats/replaceScaledPriceAuthorities.js"),
// Add new auction contract. The old one will be retired shortly.
vm.CoreProposalStepForModules("@agoric/builders/scripts/vats/add-auction.js"),
// upgrade vaultFactory.
Expand Down
3 changes: 2 additions & 1 deletion packages/zoe/src/contracts/scaledPriceAuthority.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ export const prepare = async (zcf, privateArgs, baggage) => {
const priceAuthority = makePriceAuthorityTransform({
quoteMint,
// If the priceAuthority is overridden in privateArgs, use that version
sourcePriceAuthority: privateArgs?.priceAuthority || sourcePriceAuthority,
sourcePriceAuthority:
privateArgs?.newPriceAuthority || sourcePriceAuthority,
sourceBrandIn,
sourceBrandOut,
actualBrandIn,
Expand Down

0 comments on commit 87bd81d

Please sign in to comment.