fixes
This commit is contained in:
parent
104e643414
commit
0a955f03ac
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue