File tree Expand file tree Collapse file tree 2 files changed +0
-3
lines changed
src/ouroboros-consensus/Ouroboros/Consensus/Storage/LedgerDB
test/storage-test/Test/Ouroboros/Storage/LedgerDB Expand file tree Collapse file tree 2 files changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,6 @@ mkInitDb args getBlock snapManager res = do
90
90
res
91
91
, abortLedgerDbInit = \ ls -> do
92
92
closeLedgerSeq ls
93
- releaseResources (Proxy @ blk ) res
94
93
, initReapplyBlock = \ a b c -> do
95
94
(x, y) <- reapplyThenPush lgrRegistry a b c
96
95
x
Original file line number Diff line number Diff line change @@ -611,7 +611,6 @@ instance RunModel Model (StateT Environment IO) where
611
611
Environment _ _ chainDb mkArgs fs _ cleanup rr <- get
612
612
(ldb, testInternals, getNumOpenHandles) <- lift $ do
613
613
let args = mkArgs secParam salt
614
- -- TODO after a drop and restore we restart the db but the session has been closed below where I wrote blahblahblah
615
614
openLedgerDB (argFlavorArgs args) chainDb (argLedgerDbCfg args) fs rr
616
615
put (Environment ldb testInternals chainDb mkArgs fs getNumOpenHandles cleanup rr)
617
616
pure $ pure ()
@@ -648,7 +647,6 @@ instance RunModel Model (StateT Environment IO) where
648
647
Environment _ testInternals chainDb _ _ _ _ _ <- get
649
648
lift $ do
650
649
atomically $ modifyTVar (dbChain chainDb) (drop (fromIntegral n))
651
- -- blahblahblah
652
650
closeLedgerDB testInternals
653
651
perform state (Init secParam salt) lk
654
652
perform _ OpenAndCloseForker _ = do
You can’t perform that action at this time.
0 commit comments