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.Generator.TxAuxData

Synopsis

Documentation

genMetadataEra era ⇒ ConstantsGen (StrictMaybe (ShelleyTxAuxData era)) Source #

Generate ShelleyTxAuxData (and compute hash) with frequency frequencyTxWithMetadata

genMetadata'Era era ⇒ Gen (ShelleyTxAuxData era) Source #

Generate Metadata (and compute hash) of size up to metadataMaxSize