Skip to content

[Rosetta] Refactor state indexer #58

@illia-malachyn

Description

@illia-malachyn

Refactor processBlock function as it is 1000-line long, and has ~50 cycles inside, some of which reach 5-6 nested levels.
Other functions like indexLiveSpork or runWorker are also too big, hard to maintain and reason about.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions