bench: set sector size in saved commit2 inputs
This commit is contained in:
parent
ee3e631b1a
commit
f4310e8f69
@ -257,7 +257,7 @@ func main() {
|
|||||||
c2in := Commit2In{
|
c2in := Commit2In{
|
||||||
SectorNum: int64(i),
|
SectorNum: int64(i),
|
||||||
Phase1Out: c1o,
|
Phase1Out: c1o,
|
||||||
SectorSize: 0,
|
SectorSize: uint64(sectorSize),
|
||||||
}
|
}
|
||||||
|
|
||||||
b, err := json.Marshal(&c2in)
|
b, err := json.Marshal(&c2in)
|
||||||
@ -278,7 +278,7 @@ func main() {
|
|||||||
sealcommit2 := time.Now()
|
sealcommit2 := time.Now()
|
||||||
|
|
||||||
svi := abi.SealVerifyInfo{
|
svi := abi.SealVerifyInfo{
|
||||||
SectorID: abi.SectorID{Miner: abi.ActorID(mid), Number: i},
|
SectorID: abi.SectorID{Miner: mid, Number: i},
|
||||||
OnChain: abi.OnChainSealVerifyInfo{
|
OnChain: abi.OnChainSealVerifyInfo{
|
||||||
SealedCID: commR,
|
SealedCID: commR,
|
||||||
InteractiveEpoch: seed.Epoch,
|
InteractiveEpoch: seed.Epoch,
|
||||||
|
Loading…
Reference in New Issue
Block a user