feat(lotus-sim): allow profile info

This commit is contained in:
Steven Allen
2021-06-18 15:44:36 -07:00
parent 95cf577447
commit 5d7b7ce5c1
+3
View File
@@ -6,6 +6,7 @@ import (
"fmt"
"io"
"os"
"syscall"
"text/tabwriter"
"time"
@@ -229,6 +230,8 @@ var infoCommitGasSimCommand = &cli.Command{
}
defer node.Close()
go profileOnSignal(cctx, syscall.SIGUSR2)
sim, err := node.LoadSim(cctx.Context, cctx.String("simulation"))
if err != nil {
return err