hiero-ledger / hiero-ledger/hiero-consensus-node

Update yahcli `staking` to auto-create staking accounts in dev environments

Open
#4,893 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
406
Forks
226
Avg merge
3d 4h
Merged PRs (30d)
210

Description

### Problem

When resetting previewnet or testnet, we want to automatically re-enable staking and ensure all nodes have min-stake.

### Solution

Add a `staking post-reset-setup` subcommand.

### Alternatives

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by locating the yahcli implementation of the existing staking commands and the reset flow used for previewnet or testnet. Add the `staking post-reset-setup` entry point, then verify that a reset re-enables staking and ensures every node has min-stake.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.