Skip to content

Commit

Permalink
Merge pull request #7639 from filecoin-project/feat/shed-msg-submsg
Browse files Browse the repository at this point in the history
lotus-shed msg: Decode submessages/msig proposals
  • Loading branch information
magik6k authored Nov 18, 2021
2 parents e196a81 + 9adaa9b commit 943c40a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cmd/lotus-shed/msg.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 943c40a

Please sign in to comment.