feat(lotus-sim): allow profile info
This commit is contained in:
parent
95cf577447
commit
5d7b7ce5c1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user