add a command to lotus-bench to benchmark importing and validating a chain

This commit is contained in:
Jeromy
2020-04-02 16:18:38 -07:00
parent c7e206b993
commit beaa3dffab
8 changed files with 582 additions and 417 deletions
+1
View File
@@ -193,6 +193,7 @@ func (a *StateAPI) StateReplay(ctx context.Context, tsk types.TipSetKey, mc cid.
MsgRct: &r.MessageReceipt,
InternalExecutions: r.InternalExecutions,
Error: errstr,
Duration: r.Duration,
}, nil
}