hydra-node-0.17.0: The Hydra node
Safe HaskellSafe-Inferred
LanguageGHC2021

Hydra.Chain.Direct.Fixture

Description

Generic Cardano constants for use in testing.

Synopsis

Documentation

testNetworkId :: NetworkId Source #

testPolicyId :: PolicyId Source #

defaultLedgerEnv :: LedgerEnv LedgerEra Source #

Default environment for the L2 ledger using the fixed L1 pparams with zeroed fees and prices. NOTE: This is using still a constant SlotNo = 1.

defaultPParams :: PParams LedgerEra Source #

pparams :: PParams LedgerEra Source #

Current (2023-04-12) mainchain protocol parameters. XXX: Avoid specifiying not required parameters here (e.g. max block units should not matter). XXX: Load and use mainnet parameters from a file which we can easily review to be in sync with mainnet.

systemStart :: SystemStart Source #

slotLength :: SlotLength Source #

epochInfo :: Monad m => EpochInfo m Source #

An artifical EpochInfo comprised by a single never ending (forking) era, with fixed epochSize and slotLength.