Merge pull request #7639 from filecoin-project/feat/shed-msg-submsg

lotus-shed msg: Decode submessages/msig proposals
This commit is contained in:
Łukasz Magiera 2021-11-18 10:48:16 +01:00 committed by GitHub
commit 943c40a233
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}