File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
ouroboros-consensus-test/src/Test/Util Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,7 @@ import Ouroboros.Consensus.Block.Abstract
1919import Ouroboros.Consensus.Config
2020 (TopLevelConfig (topLevelConfigLedger ),
2121 configSecurityParam )
22- import Ouroboros.Consensus.Fragment.InFuture (CheckInFuture (.. ))
23- import qualified Ouroboros.Consensus.Fragment.Validated as VF
22+ import Ouroboros.Consensus.Fragment.InFuture (dontCheck )
2423import Ouroboros.Consensus.HardFork.History.EraParams (EraParams ,
2524 eraEpochSize )
2625import Ouroboros.Consensus.Ledger.Basics (LedgerConfig )
@@ -103,7 +102,7 @@ fromMinimalChainDbArgs MinimalChainDbArgs {..} = ChainDbArgs {
103102 -- ImmutableDB, as the VolatileDB. This is done in @extractBlockComponent@ in the iterator for the
104103 -- ImmutableDB, and in @getBlockComponent@ for the VolatileDB.
105104 , cdbGenesis = return mcdbInitLedger
106- , cdbCheckInFuture = CheckInFuture $ \ vf -> pure ( VF. validatedFragment vf, [] )
105+ , cdbCheckInFuture = dontCheck
107106 -- Blocks are never in the future.
108107 , cdbImmutableDbCacheConfig = ImmutableDB. CacheConfig 2 60
109108 -- Cache at most 2 chunks and expire each chunk after 60 seconds of being unused.
You can’t perform that action at this time.
0 commit comments