espresso-sequencer icon indicating copy to clipboard operation
espresso-sequencer copied to clipboard

feat: Add state reconstruction tests

Open crStiv opened this issue 7 months ago • 0 comments

feat: Add state reconstruction tests

Closes #3177

This PR:

  • Adds tests for state reconstruction in two scenarios:
    • Node starting with PoS version
    • Node upgrading from fee version to PoS version
  • Detects and validates proper state reconstruction after node restarts
  • Ensures version transitions are correctly maintained

Key places to review:

  • tests/state_reconstruction.rs - New test module implementing both test cases
  • tests/main.rs - Updated to include new state_reconstruction module

Things tested

  • Compilation and linting of tests directory
  • Both test cases compile without warnings using clippy

crStiv avatar May 10 '25 22:05 crStiv