Skip to content

Commit

Permalink
Merge pull request #10893 from simlecode/opt/output-events-root
Browse files Browse the repository at this point in the history
opt: cli: If present, print Events Root
  • Loading branch information
magik6k authored May 23, 2023
2 parents 17d2c71 + 3207c69 commit 6b4a46d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cli/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -1528,6 +1528,9 @@ func printMsg(ctx context.Context, api v0api.FullNode, msg cid.Cid, mw *lapi.Msg
if err := printReceiptReturn(ctx, api, m, mw.Receipt); err != nil {
return err
}
if mw.Receipt.EventsRoot != nil {
fmt.Printf("Events Root: %s\n", mw.Receipt.EventsRoot)
}

return nil
}
Expand Down

0 comments on commit 6b4a46d

Please sign in to comment.