Skip to content

Commit e64fa49

Browse files
committed
updated natspec
1 parent c0d4c52 commit e64fa49

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

contracts/UFragmentsPolicy.sol

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,7 @@ contract UFragmentsPolicy is Ownable {
5454
// (eg) An oracle value of 1.5e18 it would mean 1 Ample is trading for $1.50.
5555
IOracle public marketOracle;
5656

57-
/// @custom:oz-renamed-from
58-
/// @notice DEPRECATED.
59-
/// @dev This variable is NOT being used anymore.
60-
/// This used to store the CPI value at the time of launch to scale the incoming target
61-
/// and infer the price target. However, now the update CPI oracle returns the price target.
57+
/// @custom:oz-renamed-from baseCpi
6258
uint256 private baseCpi_DEPRECATED;
6359

6460
// If the current exchange rate is within this fractional distance from the target, no supply

scripts/upgrade.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ task('prep:upgrade:policy')
120120
)
121121
const newFactory = await hre.ethers.getContractFactory('UFragmentsPolicy')
122122

123-
// await upgrades.forceImport(args.address, prevFactory)
123+
// const prevImpl = await upgrades.forceImport(args.address, prevFactory)
124124
await upgrades.validateUpgrade(args.address, newFactory)
125125
const newImpl = await upgrades.prepareUpgrade(args.address, newFactory)
126126
console.log('New implementation at:', newImpl)

0 commit comments

Comments
 (0)