| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Test.Util.Serialisation.CDDL
Synopsis
- cddlTestCase ∷ IO ByteString → FilePath → Text → TestTree
- cddlTest ∷ IO ByteString → String → Text → IO (Either String ())
- isCDDLCDisabled ∷ Bool
- data CDDLsForNodeToNode = CDDLsForNodeToNode {}
- data CDDLsForDisk = CDDLsForDisk {
- ledgerStateCDDL ∷ (FilePath, Text)
- annTipCDDL ∷ (FilePath, Text)
- chainDepStateCDDL ∷ (FilePath, Text)
- extLedgerStateCDDL ∷ (FilePath, Text)
Documentation
cddlTestCase ∷ IO ByteString → FilePath → Text → TestTree Source #
A Tasty test case running the cuddle
cddlTest ∷ IO ByteString → String → Text → IO (Either String ()) Source #
Test the CDDL conformance of the given bytestring
isCDDLCDisabled ∷ Bool Source #
Windows on Hydra cannot cross-compile CDDLC so we decided to skip the tests there.
data CDDLsForNodeToNode Source #
A collection of CDDL spec and the relevant rule to use
Constructors
| CDDLsForNodeToNode | |
data CDDLsForDisk Source #
A collection of CDDL spec and the relevant rule to use for the things we store in the ledger state snapshot
Constructors
| CDDLsForDisk | |
Fields
| |