Skip to content

Feat/pool rebalance#48

Open
rahulghangas wants to merge 19 commits intomainfrom
feat/pool-rebalance
Open

Feat/pool rebalance#48
rahulghangas wants to merge 19 commits intomainfrom
feat/pool-rebalance

Conversation

@rahulghangas
Copy link
Copy Markdown
Collaborator

@rahulghangas rahulghangas commented Mar 20, 2026

Description

  • Introduces x/poolrebalancer, an end-block module that rebalances a configured pool delegator’s staking position across the top bonded validators.
  • Adds protobuf-backed state/types and gRPC Query API for operational visibility (params + pending redelegations/undelegations), including CLI query commands.
  • Adds governance-controlled MsgUpdateParams (authority-gated) and migrates module state encoding to protobuf.

Testing

for testing staking and harvesting is working through pool rebalancer modules endblock calling pool contract methods, you can run these command one after the other:

./scripts/poolrebalancer/pool_automation_local_setup.sh run
./scripts/poolrebalancer/pool_automation_local_setup.sh watch

…take

Signed-off-by: Nikhil Sharma <nikhilsharma230303@gmail.com>
…startup

Signed-off-by: Nikhil Sharma <nikhilsharma230303@gmail.com>
Signed-off-by: Nikhil Sharma <nikhilsharma230303@gmail.com>
…ple staking keeper

Signed-off-by: Nikhil Sharma <nikhilsharma230303@gmail.com>
…gation tie-break

Signed-off-by: Nikhil Sharma <nikhilsharma230303@gmail.com>
…and harden fallback assertions

Signed-off-by: Nikhil Sharma <nikhilsharma230303@gmail.com>
… to cosmos/poolrebalancer/v1

Signed-off-by: Nikhil Sharma <nikhilsharma230303@gmail.com>
…re observability

Signed-off-by: Nikhil Sharma <nikhilsharma230303@gmail.com>
…y to prevent source merge collisions

Signed-off-by: Nikhil Sharma <nikhilsharma230303@gmail.com>
@rahulghangas rahulghangas marked this pull request as ready for review April 2, 2026 19:47
…genesis

Signed-off-by: Nikhil Sharma <nikhilsharma230303@gmail.com>
…ilure

Signed-off-by: Nikhil Sharma <nikhilsharma230303@gmail.com>
…ination

Signed-off-by: Nikhil Sharma <nikhilsharma230303@gmail.com>
@adambalogh adambalogh self-requested a review April 3, 2026 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants