Skip to content

Commit d0867af

Browse files
committed
WIP
1 parent e835263 commit d0867af

File tree

5 files changed

+377
-257
lines changed

5 files changed

+377
-257
lines changed

ouroboros-consensus-cardano/app/snapshot-converter.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,8 @@ store config ccfg (state, tbs) tempFS =
279279
(_, SomeHasFSAndBlockIO hasFS blockIO) <- LSM.stdMkBlockIOFS dbPath reg
280280
salt <- LSM.stdGenSalt
281281
LSM.withNewSession nullTracer hasFS blockIO salt (mkFsPath [""]) $ \session -> do
282-
lsmTable <- LSM.tableFromValuesMK reg session tbs
283-
lsmHandle <- LSM.newLSMLedgerTablesHandle nullTracer reg session lsmTable
282+
lsmTable <- LSM.tableFromValuesMK reg session state tbs
283+
lsmHandle <- LSM.newLSMLedgerTablesHandle nullTracer reg lsmTable
284284
Monad.void $
285285
LSM.implTakeSnapshot
286286
ccfg

ouroboros-consensus-cardano/ouroboros-consensus-cardano.cabal

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ library
156156
cardano-ledger-dijkstra ^>=0.1,
157157
cardano-ledger-mary ^>=1.9,
158158
temporary,
159+
resource-registry,
159160
cardano-ledger-shelley ^>=1.17,
160161
cardano-prelude,
161162
cardano-protocol-tpraos ^>=1.4.1,

0 commit comments

Comments
 (0)