cardano-ledger-shelley-test-1.5.1.0: Test helpers from cardano-ledger-shelley exposed to other packages
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.Cardano.Ledger.Shelley.LaxBlock

Synopsis

Documentation

newtype LaxBlock h era Source #

A block in which we do not validate the matched encoding of parts of the segwit. This is only for testing.

Constructors

LaxBlock (Block h era) 

Instances

Instances details
(EraTx era, Typeable h, TxSeq era ~ ShelleyTxSeq era, DecCBOR (Annotator h)) ⇒ DecCBOR (Annotator (LaxBlock h era)) Source # 
Instance details

Defined in Test.Cardano.Ledger.Shelley.LaxBlock

Methods

decCBORDecoder s (Annotator (LaxBlock h era)) Source #

dropCBORProxy (Annotator (LaxBlock h era)) → Decoder s () Source #

labelProxy (Annotator (LaxBlock h era)) → Text Source #

(Era era, Show (TxSeq era), Show h) ⇒ Show (LaxBlock h era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Shelley.LaxBlock

Methods

showsPrecIntLaxBlock h era → ShowS Source #

showLaxBlock h era → String Source #

showList ∷ [LaxBlock h era] → ShowS Source #

(EraTx era, Typeable h) ⇒ ToCBOR (LaxBlock h era) Source # 
Instance details

Defined in Test.Cardano.Ledger.Shelley.LaxBlock

Methods

toCBORLaxBlock h era → Encoding Source #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (LaxBlock h era) → Size Source #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [LaxBlock h era] → Size Source #

blockDecoder ∷ (EraTx era, TxSeq era ~ ShelleyTxSeq era, DecCBOR (Annotator h)) ⇒ Bool → ∀ s. Decoder s (Annotator (Block h era)) Source #