mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-28 10:13:10 +00:00
It's running
This commit is contained in:
parent
4642174c6d
commit
e52a191dac
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user