Skip to content

Commit

Permalink
Go: add events to smart contract exec results
Browse files Browse the repository at this point in the history
  • Loading branch information
uint committed Jun 23, 2021
1 parent bc84982 commit 0935935
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions types/msg.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ type Response struct {
Data []byte `json:"data"`
// attributes for a log event to return over abci interface
Attributes []EventAttribute `json:"attributes"`
// custom events (separate from the main one that contains the attributes
// above)
Events []Event `json:"events"`
}

// EventAttributes must encode empty array as []
Expand Down

0 comments on commit 0935935

Please sign in to comment.