From e52a191dac5dcbdef94b001a8988324b85b786f0 Mon Sep 17 00:00:00 2001 From: benbierens Date: Thu, 23 Nov 2023 11:54:20 +0100 Subject: [PATCH] It's running --- tests/codex/proof/testdatasampler.nim | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/codex/proof/testdatasampler.nim b/tests/codex/proof/testdatasampler.nim index a2add9fa..f9eaf6be 100644 --- a/tests/codex/proof/testdatasampler.nim +++ b/tests/codex/proof/testdatasampler.nim @@ -230,13 +230,13 @@ asyncchecksuite "Test proof datasampler": cell1Proof.verifyDataBlock(cell1Bytes, miniTree.root).tryGet() cell2Proof.verifyDataBlock(cell2Bytes, miniTree.root).tryGet() - # test "Can gather proof input": - # # This is the main entry point for this module, and what it's all about. - # let - # localStore = CacheStore.new() - # dataSetPoseidonTree = MerkleTree.init(@[Cid.example]) - # a = (await getProofInput(slot, localStore, slotRootHash, dataSetPoseidonTree, challenge, 3)).tryget() + test "Can gather proof input": + # This is the main entry point for this module, and what it's all about. + let + localStore = CacheStore.new() + dataSetPoseidonTree = MerkleTree.init(@[Cid.example]).tryget() + a = (await getProofInput(slot, localStore, slotRootHash, dataSetPoseidonTree, challenge, 3)).tryget() - # echo "a.blockInclProofs: " & $a.blockInclProofs.len - # echo "a.cellInclProofs: " & $a.cellInclProofs.len - # echo "a.sampleData: " & $a.sampleData.len + echo "a.blockInclProofs: " & $a.blockInclProofs.len + echo "a.cellInclProofs: " & $a.cellInclProofs.len + echo "a.sampleData: " & $a.sampleData.len