Skip to content

[lifecycle-RSK] RSK-11: Flip isInitialized reads #1799

Description

@edelauna

Tracking

Context

isInitialized maps to phase. #1796 routes its four writes (Task.ts:2266, 2391, 2412, 2892), so nightly data exists before this flip. The three reads are external (checkpointRestoreHandler.ts:96, webviewMessageHandler.ts:1586, 1624).

Developer Notes

  • Precondition: the comparison shows no rejected initialized event on nightly.
  • Add a getter that returns phase !== "uninitialized".
  • Flip the three external reads.
  • Delete the field and remove its write from the helpers.

Exit criteria: no direct reads remain. Tests pass.

Reversibility: revert this PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions