fix(lotus-sim): we always fill the block with pre-commits
This commit is contained in:
parent
c18ca60d28
commit
be713ec04a
@ -27,7 +27,7 @@ func (ss *simulationState) packProveCommits(ctx context.Context, cb packFunc) (_
|
|||||||
ss.commitQueue.advanceEpoch(ss.nextEpoch())
|
ss.commitQueue.advanceEpoch(ss.nextEpoch())
|
||||||
|
|
||||||
start := time.Now()
|
start := time.Now()
|
||||||
var full, failed, done, unbatched, count int
|
var failed, done, unbatched, count int
|
||||||
defer func() {
|
defer func() {
|
||||||
if _err != nil {
|
if _err != nil {
|
||||||
return
|
return
|
||||||
@ -39,7 +39,6 @@ func (ss *simulationState) packProveCommits(ctx context.Context, cb packFunc) (_
|
|||||||
"failed", failed,
|
"failed", failed,
|
||||||
"unbatched", unbatched,
|
"unbatched", unbatched,
|
||||||
"miners-processed", count,
|
"miners-processed", count,
|
||||||
"filled-block", full,
|
|
||||||
"duration", time.Since(start),
|
"duration", time.Since(start),
|
||||||
)
|
)
|
||||||
}()
|
}()
|
||||||
|
Loading…
Reference in New Issue
Block a user