Closed freak12techno closed 1 month ago
The pull request introduces significant changes across several files, primarily focusing on the removal of components related to soft opt-out thresholds. This includes the elimination of fetchers, generators, constants, and associated tests, indicating a shift in the application's architecture. The NewApp
function in pkg/app.go
has been modified to remove initializations for the soft opt-out threshold components, which may affect related functionalities throughout the application.
File Path | Change Summary |
---|---|
pkg/app.go | Removed initializations for NewSoftOptOutThresholdFetcher and NewSoftOptOutThresholdGenerator . |
pkg/constants/constants.go | Removed constants FetcherNameSoftOptOutThreshold and FetcherNameCommission , reorganized remaining constants. |
pkg/fetchers/soft_opt_out_threshold.go | Deleted the entire file containing the SoftOptOutThresholdFetcher implementation. |
pkg/fetchers/soft_opt_out_threshold_test.go | Deleted the entire file containing unit tests for the SoftOptOutThresholdFetcher . |
pkg/generators/soft_opt_out_threshold.go | Deleted the entire file containing the SoftOptOutThresholdGenerator implementation. |
pkg/generators/soft_opt_out_threshold_test.go | Deleted the entire file containing unit tests for the SoftOptOutThresholdGenerator . |
pkg/tendermint/rpc.go | Removed the GetConsumerSoftOutOutThreshold function from the RPC struct. |
NewApp
function in pkg/app.go
are related as both PRs involve modifications to the same function, indicating a refactor in how components are initialized and utilized within the application.🐰 In fields of code, we leap and bound,
Removing fetchers, new paths are found.
Constants and tests, all gone in a flash,
A cleaner design, a swift, silent dash.
With every change, the app grows bright,
Hop along, dear code, into the light! 🌟
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 100.00%. Comparing base (
bae771d
) to head (b3228b4
). Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Summary by CodeRabbit
New Features
Bug Fixes
Documentation
Chores