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

For expired tokens without an `autoRenewAccount`, fallback to paying renewal fee with their treasury

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

Description

### Problem

Suppose a user accidentally created an immutable token without an `autoRenewAccount`.

Once expiration is enabled, this could lead to some annoyance of the token users needing to manually extend its lifetime.

### Solution

Use a token's treasury as a fallback auto-renew account.

### Alternatives

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by locating the token expiration and renewal entry points and the existing handling for autoRenewAccount. Check how a token’s treasury is represented and how renewal fees are charged. Done means an expired token without autoRenewAccount can use its treasury for the renewal fee, with regression coverage for this fallback.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.