Concordium / Concordium/concordium-node

Investigate module storage handling in block state

Open
#499 0 comments 0 reactions 0 assignees View on GitHub
[Type] Maintenance [Type] Task
Dominant language
Haskell
Stars
108
Forks
24
Avg merge
2d 4h
Merged PRs (30d)
9

Description

**Task description**

It appears that module sources are stored in the block state as soon as they are added in blocks, and not just on finalization. This could lead to unnecessary or redundant storage in the case of blocks that are never finalized, and so this potentially problematic behaviour. We should investigate whether the present behaviour is acceptable, and find a fix if necessary.

Contributor guide

Open the contributing guide

Research direction

Start by tracing where module sources are stored when blocks are added and how that differs from finalization. Determine whether unfinalized blocks retain redundant module data, then document the acceptable behavior or identify the required fix and its verification criteria.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
blockchain
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.