Skip to content

Commit 9aad1f1

Browse files
berewtneilmayhew
authored andcommitted
Rewove RunIndexerConfig from Marconi.Cardano.Core.Types
1 parent 381de21 commit 9aad1f1

File tree

1 file changed

+0
-21
lines changed
  • marconi-cardano-core/src/Marconi/Cardano/Core

1 file changed

+0
-21
lines changed

marconi-cardano-core/src/Marconi/Cardano/Core/Types.hs

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,6 @@ module Marconi.Cardano.Core.Types (
4545
SecurityParam (SecurityParam),
4646
TxIndexInBlock (TxIndexInBlock),
4747

48-
-- * Configuration for index runners
49-
RunIndexerConfig (RunIndexerConfig),
50-
runIndexerConfigTrace,
51-
runIndexerConfigRetryConfig,
52-
runIndexerConfigSecurityParam,
53-
runIndexerConfigNetworkId,
54-
runIndexerConfigChainPoint,
55-
runIndexerConfigSocketPath,
56-
5748
-- * Block range type for specifying a sub-chain
5849
BlockRange,
5950
mkBlockRange,
@@ -155,18 +146,6 @@ newtype TxIndexInBlock = TxIndexInBlock Word64
155146
-- | An existential type representing a transaction with @C.'TxBody' era@ for any Cardano era.
156147
data AnyTxBody = forall era. (C.IsCardanoEra era) => AnyTxBody C.BlockNo TxIndexInBlock (C.TxBody era)
157148

158-
-- | Common configuration required to run indexers
159-
data RunIndexerConfig = RunIndexerConfig
160-
{ _runIndexerConfigTrace :: MarconiTrace IO
161-
, _runIndexerConfigRetryConfig :: RetryConfig
162-
, _runIndexerConfigSecurityParam :: SecurityParam
163-
, _runIndexerConfigNetworkId :: C.NetworkId
164-
, _runIndexerConfigChainPoint :: C.ChainPoint
165-
, _runIndexerConfigSocketPath :: FilePath
166-
}
167-
168-
Lens.makeLenses ''RunIndexerConfig
169-
170149
-- * Database file names
171150

172151
utxoDbName :: FilePath

0 commit comments

Comments
 (0)