File tree 1 file changed +2
-3
lines changed
ouroboros-consensus-test/src/Test/Util
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
19
19
import Ouroboros.Consensus.Config
20
20
(TopLevelConfig (topLevelConfigLedger ),
21
21
configSecurityParam )
22
- import Ouroboros.Consensus.Fragment.InFuture (CheckInFuture (.. ))
23
- import qualified Ouroboros.Consensus.Fragment.Validated as VF
22
+ import Ouroboros.Consensus.Fragment.InFuture (dontCheck )
24
23
import Ouroboros.Consensus.HardFork.History.EraParams (EraParams ,
25
24
eraEpochSize )
26
25
import Ouroboros.Consensus.Ledger.Basics (LedgerConfig )
@@ -103,7 +102,7 @@ fromMinimalChainDbArgs MinimalChainDbArgs {..} = ChainDbArgs {
103
102
-- ImmutableDB, as the VolatileDB. This is done in @extractBlockComponent@ in the iterator for the
104
103
-- ImmutableDB, and in @getBlockComponent@ for the VolatileDB.
105
104
, cdbGenesis = return mcdbInitLedger
106
- , cdbCheckInFuture = CheckInFuture $ \ vf -> pure ( VF. validatedFragment vf, [] )
105
+ , cdbCheckInFuture = dontCheck
107
106
-- Blocks are never in the future.
108
107
, cdbImmutableDbCacheConfig = ImmutableDB. CacheConfig 2 60
109
108
-- 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