You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
9
9
10
10
### Changed
11
11
- Made pricing constants (STORAGE_PRICE_PER_TIB_PER_MONTH, CACHE_MISS_PRICE_PER_TIB_PER_MONTH, CDN_PRICE_PER_TIB_PER_MONTH) mutable storage variables instead of immutable
12
-
- Added `updatePricing()` function to allow owner to update pricing rates without contract upgrades
12
+
- Added `updatePricing(uint256 newStoragePrice, uint256 newCacheMissPrice, uint256 newCdnPrice)` function to allow owner to update pricing rates without contract upgrades
13
+
- Pass 0 for any parameter to keep that price unchanged (selective updates)
14
+
- At least one parameter must be non-zero
15
+
- New rates apply to all active data sets on their next proving period update
13
16
- Added `getCurrentPricingRates()` function to query current pricing values
14
17
- Added `PricingUpdated` event to track pricing changes
0 commit comments