| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Test.Ouroboros.Storage.ChainDB.LedgerSnapshots
Description
Test that ledger snapshots are performed at predictable points on the immutable chain (modulo rate limiting).
We open a ChainDB and add to it a (shuffled) list of blocks such that the
immutable chain is predetermined. Then, we check that ledger snapshots were
created for precisely the points we expect given the configured
SnapshotFrequencyArgs.