Skip to content

Commit

Permalink
correct formatting of copying-over-blockheader log output
Browse files Browse the repository at this point in the history
Change-Id: I9ec9d34bd5e8955345f370547102734b7fa231fe
  • Loading branch information
chessai committed Jul 1, 2024
1 parent c4b67a9 commit addfb35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Chainweb/Pact/Backend/CompactionInMemory.hs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ import Chainweb.Payload.PayloadStore.RocksDB (newPayloadDb)
import Chainweb.Storage.Table (Iterator(..), Entry(..), withTableIterator, unCasify, tableInsert)
import Chainweb.Pact.Backend.Types (SQLiteEnv)
import Chainweb.Storage.Table.RocksDB (RocksDb, withRocksDb, withReadOnlyRocksDb, modernDefaultOptions)
import Chainweb.Utils (sshow, fromText, int)
import Chainweb.Utils (sshow, fromText, toText, int)
import Chainweb.Version (ChainId, ChainwebVersion(..), chainIdToText, chainGraphAt)
import Chainweb.Version.Mainnet (mainnet)
import Chainweb.Version.Registry (lookupVersionByName)
Expand Down Expand Up @@ -805,7 +805,7 @@ trimRocksDb logger cwVersion cids minBlockHeight maxBlockHeight srcDb targetDb =
--
-- Not sure about the rank table, though. We keep it to be
-- conservative.
log' LL.Info $ "Copying over BlockHeader <> " <> sshow blockHash
log' LL.Info $ "Copying over BlockHeader " <> toText blockHash
tableInsert (_chainDbCas targetBlockHeaderDb) (RankedBlockHash blockHeight blockHash) rankedBlockHeader
tableInsert (_chainDbRankTable targetBlockHeaderDb) blockHash blockHeight

Expand Down

0 comments on commit addfb35

Please sign in to comment.