Commit e438c527 authored by laser's avatar laser
Browse files

feat(candidates): provided generated candidates to PoSt generator

parent 37e9d122
...@@ -178,8 +178,11 @@ func TestSectorBuilderLifecycle(t *testing.T) { ...@@ -178,8 +178,11 @@ func TestSectorBuilderLifecycle(t *testing.T) {
CommR: statusA.CommR, CommR: statusA.CommR,
}) })
candidates, err := sb.GenerateCandidates(ptr, sectorInfo, [32]byte{}, []uint64{})
require.NoError(t, err)
// generate a PoSt // generate a PoSt
proofs, err := sb.GeneratePoSt(ptr, sectorInfo, [32]byte{}, []sb.Candidate{}) proofs, err := sb.GeneratePoSt(ptr, sectorInfo, [32]byte{}, candidates)
require.NoError(t, err) require.NoError(t, err)
// verify the PoSt // verify the PoSt
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment