This commit is contained in:
Dmitry Zuikov 2024-03-25 12:03:13 +03:00
parent 027e949ac8
commit 2639e7d031
1 changed files with 4 additions and 12 deletions

View File

@ -124,18 +124,10 @@ runOracle = do
(rhh,RepoHeadSimple{..}) <- readRepoHeadFromTx sto tx
>>= toMPlus
debug $ "found head"
<+> pretty enc
<+> pretty n
<+> pretty gitLwwRef
<+> pretty gitRefLog
<+> pretty tx
<> line
<+> pretty name
<+> pretty brief
<+> pretty manifest
<> line
<> line
let enc = isJust _repoHeadGK0
let name = Text.take 256 $ _repoHeadName
let brief = Text.take 1024 $ _repoHeadBrief
let manifest = _repoManifest
let repoFactHash = hashObject @HbSync (serialise what) & HashRef