hiero-ledger / hiero-ledger/hiero-consensus-node
Add lookup by `path` mode to `InstrospectCommand`
Open
Hedera State Operator
- Dominant language
- Java
- Stars
- 406
- Forks
- 226
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 210
Description
Current introspection implementation support only getting a value by a key or a stateId for a singleton. In some cases we may know the path of the value, and we need to see the value.
By path we'll get bytes representing `StateValue`. This object contains `stateId` that we can use to lookup a codec for a value this object contains.
Contributor guide
Research direction
Start at InstrospectCommand and trace how key or singleton stateId lookups obtain and decode a value. Use the path to obtain the StateValue, then use its stateId to select the codec; done means introspection can return the value for a supplied path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100