-
Notifications
You must be signed in to change notification settings - Fork 624
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
chore(ante): refactor ante tests to use expected errors #6310
Conversation
WalkthroughThe changes in Changes
Assessment against linked issues
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 as PR comments)
Additionally, you can add CodeRabbit Configration 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
Review Details
Configuration used: .coderabbit.yml
Review profile: CHILL
Files selected for processing (1)
- modules/core/ante/ante_test.go (15 hunks)
Additional Context Used
Path-based Instructions (1)
modules/core/ante/ante_test.go (2)
Pattern
**/*.go
: Review the Golang code for conformity with the Uber Golang style guide, highlighting any deviations.
Pattern
**/*_test.go
: "Assess the unit test code assessing sufficient code coverage for the changes associated in the pull request"
Additional comments not posted (22)
modules/core/ante/ante_test.go (22)
9-9
: Ensure the new importgithub.aaakk.us.kg/cosmos/btcutil/bech32
is necessary and used correctly in the code.
184-184
: Refactor the test case to useexpError
instead ofexpPass
.
192-192
: Refactor the test case to useexpError
instead ofexpPass
.
200-200
: Refactor the test case to useexpError
instead ofexpPass
.
208-208
: Refactor the test case to useexpError
instead ofexpPass
.
216-216
: Refactor the test case to useexpError
instead ofexpPass
.
245-245
: Refactor the test case to useexpError
instead ofexpPass
.
275-275
: Refactor the test case to useexpError
instead ofexpPass
.
305-305
: Refactor the test case to useexpError
instead ofexpPass
.
312-312
: Refactor the test case to useexpError
instead ofexpPass
.
319-319
: Refactor the test case to useexpError
instead ofexpPass
.
331-331
: Refactor the test case to useexpError
instead ofexpPass
.
346-346
: Refactor the test case to useexpError
instead ofexpPass
.
353-353
: Refactor the test case to useexpError
instead ofexpPass
.
378-378
: Refactor the test case to useexpError
instead ofexpPass
.
391-391
: Refactor the test case to useexpError
instead ofexpPass
.
402-402
: Refactor the test case to useexpError
instead ofexpPass
.
413-413
: Refactor the test case to useexpError
instead ofexpPass
.
424-424
: Refactor the test case to useexpError
instead ofexpPass
.
449-449
: Refactor the test case to useexpError
instead ofexpPass
.
464-464
: Refactor the test case to useexpError
instead ofexpPass
.
488-488
: Refactor the test case to useexpError
instead ofexpPass
.
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
Review Details
Configuration used: .coderabbit.yml
Review profile: CHILL
Files selected for processing (1)
- modules/core/ante/ante_test.go (15 hunks)
Files skipped from review as they are similar to previous changes (1)
- modules/core/ante/ante_test.go
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.
lgtm, thanks for this, 🌴 dog!
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.
Thanks, @TropicalDog17!
Description
closes: #6301
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
docs/
).godoc
comments.Files changed
in the GitHub PR explorer.SonarCloud Report
in the comment section below once CI passes.Summary by CodeRabbit