-
Notifications
You must be signed in to change notification settings - Fork 21
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: migrate and cleanup delegations #216
Conversation
# Conflicts: # x/delegation/keeper/msg_server_redelegate_test.go # x/delegation/keeper/msg_server_undelegate_test.go
# Conflicts: # docs/static/openapi.yml # x/delegation/keeper/msg_server_redelegate.go # x/delegation/keeper/msg_server_redelegate_test.go # x/delegation/keeper/msg_server_undelegate_test.go # x/delegation/types/expected_keepers.go # x/pool/keeper/msg_server_disable_pool_test.go # x/query/keeper/grpc_account_redelegation_test.go # x/stakers/types/keys.go
Caution Review failedThe pull request is closed. WalkthroughThis pull request introduces a comprehensive refactoring of the delegation module in the KYVE Network, effectively removing delegation-specific functionality and integrating delegation logic into other existing modules. The changes involve removing multiple files, modifying keeper structures, and updating the upgrade process to handle protocol-to-consensus validator linking. The upgrade aims to simplify the delegation mechanism and transition to a more integrated staking approach. Changes
Sequence DiagramsequenceDiagram
participant Validator
participant UpgradeHandler
participant StakingKeeper
participant BankKeeper
Validator->>UpgradeHandler: Initiate Upgrade
UpgradeHandler->>StakingKeeper: Migrate Protocol Stakers
StakingKeeper->>BankKeeper: Transfer Pending Commissions
StakingKeeper->>StakingKeeper: Update Validator Parameters
UpgradeHandler-->>Validator: Upgrade Complete
Possibly related PRs
Suggested Reviewers
Poem
Tip CodeRabbit's docstrings feature is now available as part of our Early Access Program! Simply use the command 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 (
|
Summary by CodeRabbit
New Features
Bug Fixes
Documentation
Chores