-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
fix(x/staking,x/auth): regenerate mock to fix test #20684
Conversation
WalkthroughWalkthroughThe recent changes introduce a new method, Changes
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 (4)
- x/auth/ante/expected_keepers.go (1 hunks)
- x/auth/ante/testutil/expected_keepers_mocks.go (1 hunks)
- x/staking/testutil/expected_keepers_mocks.go (1 hunks)
- x/staking/types/expected_keepers.go (1 hunks)
Additional context used
Path-based instructions (4)
x/auth/ante/expected_keepers.go (1)
Pattern
**/*.go
: Review the Golang code for conformity with the Uber Golang style guide, highlighting any deviations.x/staking/types/expected_keepers.go (1)
Pattern
**/*.go
: Review the Golang code for conformity with the Uber Golang style guide, highlighting any deviations.x/auth/ante/testutil/expected_keepers_mocks.go (1)
Pattern
**/*.go
: Review the Golang code for conformity with the Uber Golang style guide, highlighting any deviations.x/staking/testutil/expected_keepers_mocks.go (1)
Pattern
**/*.go
: Review the Golang code for conformity with the Uber Golang style guide, highlighting any deviations.
Additional comments not posted (4)
x/auth/ante/expected_keepers.go (1)
33-33
: AddedGetCometInfo
method toConsensusKeeper
interface. Ensure that all implementations of this interface are updated accordingly.x/staking/types/expected_keepers.go (1)
121-121
: AddedGetCometInfo
method toConsensusKeeper
interface consistent with changes in other modules.x/auth/ante/testutil/expected_keepers_mocks.go (1)
198-211
: Properly implemented mock forGetCometInfo
inMockConsensusKeeper
. Ensure that tests using this mock properly simulate and assert the behavior of theGetCometInfo
method.x/staking/testutil/expected_keepers_mocks.go (1)
768-781
: Consistent implementation ofGetCometInfo
mock across modules. This consistency helps maintain uniformity in testing practices.
* main: feat(tx): port simappv2 changes (#20648) build(deps): Bump github.com/spf13/cobra from 1.8.0 to 1.8.1 (#20682) chore(proto): fix comments (#20679) (serverv2/cometbft) Commands support both json and yaml output (#20670) fix(x/staking,x/auth): regenerate mock to fix test (#20684) docs: ADR 074: Msg v2 (#20618) fix: nested multisig signatures using CLI (#20438) chore: fix spelling errors (#20674) fix: align Dockerfile for build-push-action (#20672) fix: avoid build fail when make localnet-build-env (#20671) build(deps): Bump bufbuild/buf-setup-action from 1.32.2 to 1.33.0 (#20669) chore: make function comment match function names (#20666) chore(consensus): add cometInfo to consensus (#20615) chore: fix typos (#20662) fix: Properly parse json in the wait-tx command. (#20631) fix(sims): check before sending RotateConsPubKey (#20659) test(types/address): add unit tests for the file types/address.go (#20237)
Description
Regenerate mocks to fix test failed issue
Summary by CodeRabbit
GetCometInfo
method in the ConsensusKeeper interface.