Skip to content

Commit

Permalink
Merge pull request #6006 from IntersectMBO/smelc/testnet-remove-unuse…
Browse files Browse the repository at this point in the history
…d-datatype

cardano-testnet: remove unused ForkPoint datatype
  • Loading branch information
smelc authored Oct 11, 2024
2 parents 371a142 + d518946 commit 7a68d1d
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions cardano-testnet/src/Testnet/Start/Cardano.hs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
{-# LANGUAGE ScopedTypeVariables #-}

module Testnet.Start.Cardano
( ForkPoint(..)
, CardanoTestnetCliOptions(..)
( CardanoTestnetCliOptions(..)
, CardanoTestnetOptions(..)
, extraSpoNodeCliArgs
, TestnetNodeOptions(..)
Expand Down Expand Up @@ -77,12 +76,6 @@ testnetMinimumConfigurationRequirements (NumPools n) = withFrozenCallStack $
H.noteShow_ ("Need at least two nodes to run a cluster, but got: " <> show n)
H.failure

data ForkPoint
= AtVersion Int
| AtEpoch Int
deriving (Show, Eq, Read)


-- | For an unknown reason, CLI commands are a lot slower on Windows than on Linux and
-- MacOS. We need to allow a lot more time to set up a testnet.
startTimeOffsetSeconds :: DTC.NominalDiffTime
Expand Down

0 comments on commit 7a68d1d

Please sign in to comment.