Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- codecConfig ∷ CardanoCodecConfig Crypto
- exampleApplyTxErrWrongEraByron ∷ ApplyTxErr (CardanoBlock Crypto)
- exampleApplyTxErrWrongEraShelley ∷ ApplyTxErr (CardanoBlock Crypto)
- exampleEraMismatchByron ∷ MismatchEraInfo (CardanoEras Crypto)
- exampleEraMismatchShelley ∷ MismatchEraInfo (CardanoEras Crypto)
- exampleQueryAnytimeShelley ∷ SomeSecond BlockQuery (CardanoBlock Crypto)
- exampleQueryEraMismatchByron ∷ SomeSecond BlockQuery (CardanoBlock Crypto)
- exampleQueryEraMismatchShelley ∷ SomeSecond BlockQuery (CardanoBlock Crypto)
- exampleResultAnytimeShelley ∷ SomeResult (CardanoBlock Crypto)
- exampleResultEraMismatchByron ∷ SomeResult (CardanoBlock Crypto)
- exampleResultEraMismatchShelley ∷ SomeResult (CardanoBlock Crypto)
- examples ∷ Examples (CardanoBlock Crypto)
Setup
codecConfig ∷ CardanoCodecConfig Crypto Source #
Examples
exampleApplyTxErrWrongEraByron ∷ ApplyTxErr (CardanoBlock Crypto) Source #
exampleEraMismatchByron ∷ MismatchEraInfo (CardanoEras Crypto) Source #
Applying a Shelley thing to a Byron ledger
exampleEraMismatchShelley ∷ MismatchEraInfo (CardanoEras Crypto) Source #
Applying a Byron thing to a Shelley ledger
exampleResultAnytimeShelley ∷ SomeResult (CardanoBlock Crypto) Source #
exampleResultEraMismatchByron ∷ SomeResult (CardanoBlock Crypto) Source #
exampleResultEraMismatchShelley ∷ SomeResult (CardanoBlock Crypto) Source #
examples ∷ Examples (CardanoBlock Crypto) Source #
The examples: the examples from each individual era lifted in to
CardanoBlock
and the multi-era examples.
Orphan instances
Inject Examples Source # | |
Inject SomeResult Source # | |
inject ∷ ∀ x (xs ∷ [Type]). CanHardFork xs ⇒ Exactly xs Bound → Index xs x → SomeResult x → SomeResult (HardForkBlock xs) Source # | |
Inject (Serialised ∷ Type → Type) Source # | In reality, an era tag would be prepended, but we're testing that the encoder doesn't care what the bytes are. |
inject ∷ ∀ x (xs ∷ [Type]). CanHardFork xs ⇒ Exactly xs Bound → Index xs x → Serialised x → Serialised (HardForkBlock xs) Source # |