hydra-node
Safe HaskellSafe-Inferred
LanguageGHC2021

Hydra.HeadLogic.OutcomeSpec

Description

Golden and roundtrip tests for the persisted event format (StateEvent and its StateChanged payload).

StateChanged events are what the node persists in its event log (regardless of the storage backend), so these tests guard the on-disk JSON: a change here means older event logs may fail to load and must be treated as a **breaking** change to persistence.

Documentation

spec :: Spec Source #