tests
Safe HaskellSafe-Inferred
LanguageGHC2021

Test.Hydra.Fixture

Description

Test and example values used across hydra-node tests.

Synopsis

Documentation

alice :: Party Source #

bob :: Party Source #

carol :: Party Source #

aliceSk :: SigningKey HydraKey Source #

bobSk :: SigningKey HydraKey Source #

carolSk :: SigningKey HydraKey Source #

aliceVk :: VerificationKey HydraKey Source #

bobVk :: VerificationKey HydraKey Source #

carolVk :: VerificationKey HydraKey Source #

allVKeys :: [VerificationKey HydraKey] Source #

cperiod :: ContestationPeriod Source #

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.