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:
blocks-to-pces reconstructs unsigned PCES files from production block stream files.
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.
- The resulting state and block hashes are compared against the original production values.
Description:
Adds a new
replay-pcescommand 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:
blocks-to-pcesreconstructs unsigned PCES files from production block stream files.replay-pcesloads the matching state snapshot, replays those PCES files through the production startup replay path, and snapshots the round the replay advanced to.