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

Refactor `Scratchpad` to use PBJ object instead of `SelfSerializable`

Open
#22,930 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

`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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.