Skip to content

Commit

Permalink
Beginnings of Env haddock
Browse files Browse the repository at this point in the history
This is only really being checked in because a pull and rebase demanded
doing so. It would have been less log pollution if things wouldn't have
been rebased until after various more complete steps had been completed.
  • Loading branch information
NadiaYvette committed May 30, 2023
1 parent 799df53 commit d180a38
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion bench/tx-generator/src/Cardano/Benchmarking/Script/Env.hs
Expand Up @@ -70,7 +70,13 @@ import Cardano.TxGenerator.PlutusContext (PlutusBudgetSummary)
import Cardano.TxGenerator.Types (TxGenError (..))


data Env = Env { protoParams :: Maybe ProtocolParameterMode
-- | The 'Env' type represents the state maintained while executing
-- a series of actions. The 'Maybe' types are largely to represent
-- as-of-yet unset values.
data Env = Env { -- | 'Cardano.Api.ProtocolParameters' is ultimately
-- wrapped by 'ProtocolParameterMode' which itself is
-- a sort of custom 'Maybe'.
protoParams :: Maybe ProtocolParameterMode
, benchTracers :: Maybe Tracer.BenchTracers
, envGenesis :: Maybe (ShelleyGenesis StandardCrypto)
, envProtocol :: Maybe SomeConsensusProtocol
Expand Down

0 comments on commit d180a38

Please sign in to comment.