Closed freak12techno closed 4 months ago
This update adds significant enhancements to the application by introducing support for handling currency denominations, improving validation logic, and enriching Prometheus metrics with new labels. Key changes include augmenting functions to accept new parameters, updating test cases, adding new validation methods, and modifying configurations to include denomination information.
File(s) | Change Summary |
---|---|
pkg/app.go , pkg/generators/active_set_tokens_test.go , pkg/generators/balance_test.go , pkg/generators/commission_test.go , pkg/generators/rewards_test.go , pkg/generators/self_delegations_test.go , pkg/generators/single_validator_info_test.go , pkg/generators/validators_info_test.go |
Introduced new parameters in generator functions and test scenarios, including handling of denominations. |
pkg/config/denom_info.go |
Added Convert method in DenomInfos struct for currency conversion. |
pkg/config/chain.go , pkg/config/chain_test.go , pkg/config/config_test.go |
Updated validation logic and warnings in Chain struct, added tests for new fields BaseDenom and BechWalletPrefix . |
pkg/config/consumer_chain.go , pkg/config/consumer_chain_test.go |
Added DisplayWarnings method and validation for BaseDenom in ConsumerChain struct. |
pkg/fetchers/signing_info.go , pkg/fetchers/signing_info_test.go |
Enhanced fetcher to include BechValidatorPrefix in the condition validation and modified test cases. |
In code's vast maze, we found our way,
With chains and denoms on display.
Validators' shares, we finely tune,
Metrics dance under the moon.
Validation firm, where errors loom,
A rabbit's joy, in code's bright bloom.
🐇✨
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?
Attention: Patch coverage is 96.64430%
with 5 lines
in your changes missing coverage. Please review.
Project coverage is 90.16%. Comparing base (
0485a96
) to head (ae6c5a3
).
Files | Patch % | Lines |
---|---|---|
pkg/app.go | 0.00% | 5 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Summary by CodeRabbit
New Features
Bug Fixes
Tests
Chores