Skip to content

Commit 9be8ac8

Browse files
sgillespiekderme
authored andcommitted
refactor(cardano-db-sync): Deprecate configuration flags
The majority of flags that affect the insert configuration are now part of the primary configuration file for db-sync
1 parent ba1d849 commit 9be8ac8

File tree

10 files changed

+213
-284
lines changed

10 files changed

+213
-284
lines changed

cardano-chain-gen/test/Test/Cardano/Db/Mock/Config.hs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -271,27 +271,11 @@ mkSyncNodeParams staticDir mutableDir CommandLineArgs {..} = do
271271
, enpPGPassSource = Db.PGPassCached pgconfig
272272
, enpEpochDisabled = claEpochDisabled
273273
, enpHasCache = claHasCache
274-
, enpHasLedger = claHasLedger
275-
, enpShouldUseLedger = claHasLedger
276274
, enpSkipFix = claSkipFix
277275
, enpOnlyFix = claOnlyFix
278276
, enpForceIndexes = claForceIndexes
279277
, enpHasInOut = True
280-
, enpHasShelley = True
281-
, enpHasMultiAssets = claHasMultiAssets
282-
, enpHasMetadata = claHasMetadata
283-
, enpKeepMetadataNames = []
284-
, enpHasPlutusExtra = True
285-
, enpHasGov = True
286-
, enpHasOffChainPoolData = True
287278
, enpForceTxIn = claForceTxIn
288-
, enpDisableAllMode = False
289-
, enpFullMode = claFullMode
290-
, enpOnlyUTxO = False
291-
, enpOnlyGov = False
292-
, enpMigrateConsumed = claMigrateConsumed
293-
, enpPruneTxOut = claPruneTxOut
294-
, enpBootstrap = claBootstrap
295279
, enpSnEveryFollowing = 35
296280
, enpSnEveryLagging = 35
297281
, enpMaybeRollback = Nothing

cardano-chain-gen/test/testfiles/config-conway/test-db-sync-config-no-ledger.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,6 @@
112112
}
113113
],
114114
"insert_options": {
115-
"ledger": "disable"
115+
"ledger": "ignore"
116116
}
117117
}

0 commit comments

Comments
 (0)