| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Cardano.Ledger.CanonicalState.CDDL.Validate
Description
Various helper functions for CBOR validation against supported CDDL specifications.
Documentation
validateBytesAgainst ∷ ByteString → Text → Text → Maybe (Evidenced ValidationTrace) Source #
Validate raw bytes against a rule in the namespace.
invalidSpecs ∷ Map SomeNamespaceSymbol NameResolutionFailure Source #
Pre-compiled CDDL specifications for all supported namespaces.