Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Test and example values used across hydra-node tests.
Synopsis
- alice :: Party
- bob :: Party
- carol :: Party
- aliceSk :: SigningKey HydraKey
- bobSk :: SigningKey HydraKey
- carolSk :: SigningKey HydraKey
- aliceVk :: VerificationKey HydraKey
- bobVk :: VerificationKey HydraKey
- carolVk :: VerificationKey HydraKey
- allVKeys :: [VerificationKey HydraKey]
- cperiod :: ContestationPeriod
- testHeadId :: HeadId
- testHeadSeed :: HeadSeed
- deriveOnChainId :: Party -> OnChainId
- testEnvironment :: Environment
Documentation
testHeadId :: HeadId Source #
testHeadSeed :: HeadSeed Source #
deriveOnChainId :: Party -> OnChainId Source #
Derive some OnChainId
from a Hydra party. In the real protocol this is
currently not done, but in this simulated chain setting this is definitely
fine.
testEnvironment :: Environment Source #
An environment fixture for testing.