This commit is contained in:
Jaremy Creechley 2023-08-02 15:25:05 -07:00
parent 104e643414
commit 0a955f03ac
No known key found for this signature in database
GPG Key ID: 4E66FB67B21D3300
2 changed files with 2 additions and 2 deletions

View File

@ -190,7 +190,7 @@ proc makeRoot*(self: Manifest): ?!void =
stack.add(mh)
if stack.len == 1:
let digest = emptyDigest(self.version, self.hcodec).expect("empty manifest")
let digest = ? emptyDigest(self.version, self.hcodec)
let cid = ? Cid.init(self.version, self.codec, digest).mapFailure
self.rootHash = cid.some

View File

@ -75,7 +75,7 @@ when getEnv("CODEX_USE_ORC", "") in ["true", "1"]:
# enable metric collection
--define:metrics
# for heap-usage-by-instance-type metrics and object base-type strings
# --define:nimTypeNames
--define:nimTypeNames
--styleCheck:usages
--styleCheck:error