bench: set sector size in saved commit2 inputs

This commit is contained in:
Łukasz Magiera 2020-03-01 05:26:10 +01:00
parent ee3e631b1a
commit f4310e8f69

View File

@ -257,7 +257,7 @@ func main() {
c2in := Commit2In{
SectorNum: int64(i),
Phase1Out: c1o,
SectorSize: 0,
SectorSize: uint64(sectorSize),
}
b, err := json.Marshal(&c2in)
@ -278,7 +278,7 @@ func main() {
sealcommit2 := time.Now()
svi := abi.SealVerifyInfo{
SectorID: abi.SectorID{Miner: abi.ActorID(mid), Number: i},
SectorID: abi.SectorID{Miner: mid, Number: i},
OnChain: abi.OnChainSealVerifyInfo{
SealedCID: commR,
InteractiveEpoch: seed.Epoch,