testcase: fails on last 3D test with these params

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
This commit is contained in:
Csaba Kiraly 2023-11-16 17:05:36 +01:00
parent a7ad30f49a
commit dbc3994bb3
No known key found for this signature in database
GPG Key ID: 0FE274EE8C95166E
3 changed files with 4 additions and 2 deletions

View File

@ -342,6 +342,7 @@ proc encodeData(
without treeCid =? tree.rootCid, err:
return failure(err)
trace "Storing proofs for", treeCid
if err =? (await self.store.putAllProofs(tree)).errorOption:
return failure(err)

View File

@ -110,6 +110,7 @@ method putBlockCidAndProof*(
## Put a block to the blockstore
##
trace "putBlockCidAndProof", treeCid, index, blockCid
without key =? createBlockCidAndProofMetadataKey(treeCid, index), err:
return failure(err)

View File

@ -16,8 +16,8 @@ import pkg/codex/utils
import ./helpers
asyncchecksuite "Erasure encode/decode":
const BlockSize = 1024'nb
const dataSetSize = BlockSize * 123 # weird geometry
const BlockSize = 64'nb
const dataSetSize = BlockSize * 20 # weird geometry
var rng: Rng
var chunker: Chunker