cardano-ledger-shelley-test
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.Cardano.Ledger.Shelley.Examples.EmptyBlock

Synopsis

Documentation

exEmptyBlock ∷ (EraSegWits era, ProtVerAtMost era 4, ProtVerAtMost era 6, Default (StashedAVVMAddresses era), EraGov era) ⇒ CHAINExample era Source #

Empty Block Example

This is the most minimal example of using the CHAIN STS transition. It applies an empty block to an initial shelley chain state.

The only things that change in the chain state are the evolving and candidate nonces, and the last applied block.