-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
refactor(x/staking,genutil)!: use validatorUpdates #19754
Changes from 6 commits
790d048
f4ca35b
a0fff20
a980312
02b82fb
7d814b1
63ff365
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,17 +4,16 @@ import ( | |
"context" | ||
"encoding/json" | ||
|
||
abci "github.com/cometbft/cometbft/abci/types" | ||
|
||
bankexported "cosmossdk.io/x/bank/exported" | ||
|
||
"github.com/cosmos/cosmos-sdk/codec" | ||
sdk "github.com/cosmos/cosmos-sdk/types" | ||
"github.com/cosmos/cosmos-sdk/types/module" | ||
) | ||
|
||
// StakingKeeper defines the expected staking keeper (noalias) | ||
type StakingKeeper interface { | ||
ApplyAndReturnValidatorSetUpdates(context.Context) (updates []abci.ValidatorUpdate, err error) | ||
ApplyAndReturnValidatorSetUpdates(context.Context) (updates []module.ValidatorUpdate, err error) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we get a changelog under x/staking for that? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done! |
||
} | ||
|
||
// AccountKeeper defines the expected account keeper (noalias) | ||
|
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.
Do we have to go via the abci struct in PowerReduction?
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.
done! use
ModuleValidatorUpdate