Skip to content

Commit

Permalink
Add a docstring to the Test.Consensus.Cardano.Generators module
Browse files Browse the repository at this point in the history
  • Loading branch information
mrBliss committed Jan 14, 2021
1 parent 55c0e94 commit 8c2e54f
Showing 1 changed file with 8 additions and 0 deletions.
Expand Up @@ -11,6 +11,14 @@
{-# LANGUAGE TypeApplications #-}
{-# LANGUAGE UndecidableInstances #-}
{-# OPTIONS_GHC -Wno-orphans #-}
-- | 'Arbitrary' instances intended for serialisation roundtrip tests for
-- 'CardanoBlock' and its related types.
--
-- Because the generated values are only used in serialisation roundtrip tests,
-- they don't need to be valid blocks, transactions, etc.
--
-- We combine the Byron and Shelley-based instances defined elsewhere into
-- Cardano instances by picking randomly from one of the eras.
module Test.Consensus.Cardano.Generators (
module Test.Consensus.Byron.Generators
) where
Expand Down

0 comments on commit 8c2e54f

Please sign in to comment.