Merge pull request #7639 from filecoin-project/feat/shed-msg-submsg
lotus-shed msg: Decode submessages/msig proposals
This commit is contained in:
commit
943c40a233
@ -148,6 +148,15 @@ func printMessage(cctx *cli.Context, msg *types.Message) error {
|
||||
|
||||
fmt.Println("Params:", p)
|
||||
|
||||
if msg, err := messageFromBytes(cctx, msg.Params); err == nil {
|
||||
fmt.Println("---")
|
||||
color.Red("Params message:")
|
||||
|
||||
if err := printMessage(cctx, msg.VMMessage()); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user