-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem: gov param is outdated in swagger #1616
Conversation
WalkthroughThe changes involve updates to the Changes
Poem
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? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Outside diff range and nitpick comments (1)
client/docs/config.json (1)
87-101
: LGTM! Consider adding a comment for clarity.The addition of the
gov/v1
API entry with renamed operation IDs is well-structured and consistent with the existing naming conventions. This change effectively addresses the PR objective of updating governance parameters in Swagger.Consider adding a brief comment above this new entry to explain the purpose of the
gov/v1
API and its relationship to the existinggov/v1beta1
API. This would enhance maintainability and provide context for future developers. For example:+ // New entry for gov/v1 API, which is an updated version of the governance API { "url": "./tmp-swagger-gen/cosmos/gov/v1/query.swagger.json", "operationIds": { "rename": { "Params": "GovV1Params", "Proposal": "GovV1Proposal", "Proposals": "GovV1Proposal", "Vote": "GovV1Vote", "Votes": "GovV1Votes", "Deposit": "GovV1Deposit", "Deposits": "GovV1Deposit", "TallyResult": "GovV1TallyResult" } } },
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1616 +/- ##
===========================================
- Coverage 36.88% 17.73% -19.15%
===========================================
Files 102 72 -30
Lines 8055 5204 -2851
===========================================
- Hits 2971 923 -2048
+ Misses 4706 4158 -548
+ Partials 378 123 -255 |
2685ed7
👮🏻👮🏻👮🏻 !!!! REFERENCE THE PROBLEM YOUR ARE SOLVING IN THE PR TITLE AND DESCRIBE YOUR SOLUTION HERE !!!! DO NOT FORGET !!!! 👮🏻👮🏻👮🏻
PR Checklist:
make
)make test
)go fmt
)golangci-lint run
)go list -json -m all | nancy sleuth
)Thank you for your code, it's appreciated! :)
Summary by CodeRabbit