Closed Yaroms closed 2 months ago
The recent updates enhance the application's upgrade capabilities by introducing two new versions, 2.2.0
and 2.4.0
, while updating the consensus and version parameters. Key modifications include improved migration handling, enhanced logging formats, and a shift in error management strategies. These changes collectively improve clarity, functionality, and support for future upgrades.
Files | Change Summary |
---|---|
app/app.go , app/upgrades/empty_upgrades.go |
Added upgrade entries for 2.2.0 and 2.4.0 , enhancing upgrade paths and functionalities. |
x/protocol/module.go |
Updated ConsensusVersion from 18 to 19 and added new migration registration for robustness. |
x/protocol/types/params.go |
Incremented TARGET_VERSION to 2.4.0 and MIN_VERSION to 2.2.2 , reflecting increased compatibility requirements. |
x/rewards/keeper/iprpc.go , x/rewards/keeper/providers.go |
Minor log formatting changes to improve clarity in reward distributions. |
x/subscription/keeper/cu_tracker.go |
Simplified logic by removing provider reward tracking, focusing on error handling in reward distribution. |
sequenceDiagram
participant User
participant App
participant UpgradeHandler
User->>App: Request Upgrade
App->>UpgradeHandler: Check available upgrades
UpgradeHandler->>App: Provide upgrade options
App->>User: Display available upgrades
π° In the code, a hop and a skip,
New upgrades come with a flip!
With paths so broad, and errors so few,
Our app's now spruced, oh yes, it's true!
Let's celebrate with a joyous cheer,
For the future is bright, and the upgrades are here! π
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
2β018 testsβ Β±0βββ2β018 :white_check_mark: Β±0βββ24m 21s :stopwatch: +59s ββ141 suites Β±0βββββββ0 :zzz: Β±0β ββββ7 filesββ Β±0βββββββ0 :x: Β±0β
Results for commit 68ab303d.βΒ± Comparison against base commit 7c9f8b94.
Description
Closes: #XXXX
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and please add links to any relevant follow up issues.
I have...
!
in the type prefix if API or client breaking changemain
branchReviewers Checklist
All items are required. Please add a note if the item is not applicable and please add your handle next to the items reviewed if you only reviewed selected items.
I have...
Summary by CodeRabbit
New Features
Bug Fixes
Documentation
Style