Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Generic Cardano constants for use in testing.
Synopsis
- testNetworkId :: NetworkId
- testPolicyId :: PolicyId
- testSeedInput :: TxIn
- defaultLedgerEnv :: LedgerEnv LedgerEra
- defaultPParams :: PParams LedgerEra
- defaultGlobals :: Globals
- pparams :: PParams LedgerEra
- systemStart :: SystemStart
- slotLength :: SlotLength
- epochInfo :: Monad m => EpochInfo m
Documentation
testNetworkId :: NetworkId Source #
testPolicyId :: PolicyId Source #
testSeedInput :: TxIn 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 #