hiero-ledger / hiero-ledger/hiero-consensus-node
Refactor `Scratchpad` to use PBJ object instead of `SelfSerializable`
- Dominant language
- Java
- Stars
- 406
- Forks
- 226
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 210
Description
`SerializableLong` is used in a single context - it stores last ISS round in ISS scratch pad. `StandardScratchpad` is designed to support any `SelfSerializable` object, it uses only `SerializableLong` and `NodeId`. Both should be migrated to PBJ serialization.
Contributor guide
Research direction
Start by reading StandardScratchpad and tracing its uses of SelfSerializable, SerializableLong, and NodeId, especially the ISS scratch pad storing the last ISS round. Identify the corresponding PBJ serialization entry points and migrate both supported object types; done means StandardScratchpad no longer relies on those SelfSerializable implementations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- distributed-systems
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100