Skip to content

Implement replay-pces command to State Operator #25959

@imalygin

Description

@imalygin

Description:

Adds a new replay-pces command to the state operator that loads a saved state snapshot, replays a PCES stream on top of it using the consensus node's real replay mechanism, and writes the resulting state snapshot to disk. The resulting state can then be compared against the original production block stream to validate equivalence.
This is the second half of the block stream equivalence validation experiment, paired with the existing blocks-to-pces command. The expected workflow is:

  1. blocks-to-pces reconstructs unsigned PCES files from production block stream files.
  2. replay-pces loads the matching state snapshot, replays those PCES files through the production startup replay path, and snapshots the round the replay advanced to.
  3. The resulting state and block hashes are compared against the original production values.

Metadata

Metadata

Assignees

Labels

Hedera State OperatorIssues related to the hedera state operator

Type

No fields configured for Task.

Projects

Status
👀 In Review

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions