informalsystems / informalsystems/hydro

Allow switching the delegated validator

Open
#126 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

prio:low
Dominant language
Rust
Stars
11
Forks
10
Avg merge
17h 45m
Merged PRs (30d)
4

Description

When a users validator goes out of the active set, they do not receive staking reward.
We need the Hydro contract to allow *keeping* the users ATOM locked, but to switch the validator that they are delegated with.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Hydro contract entry points for delegation, validator selection, and staking rewards. Trace what happens when a validator leaves the active set, then determine how a user can keep ATOM locked while switching delegation. Done means the contract supports that switch without interrupting the user's locked stake or rewards.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
blockchain
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.