mirror of
https://github.com/eosswedenorg/thalos
synced 2026-07-02 11:43:40 +02:00
api/message/types.go: Adding Except,Error and Return fields to ActionTrace
This commit is contained in:
parent
8b927ed366
commit
668b3b62d8
1 changed files with 4 additions and 0 deletions
|
|
@ -27,6 +27,10 @@ type ActionTrace struct {
|
||||||
HexData string `json:"hex_data" msgpack:"hex_data"`
|
HexData string `json:"hex_data" msgpack:"hex_data"`
|
||||||
|
|
||||||
Authorization []PermissionLevel `json:"authorization" msgpack:"authorization"`
|
Authorization []PermissionLevel `json:"authorization" msgpack:"authorization"`
|
||||||
|
|
||||||
|
Except string `json:"except" msgpack:"except"`
|
||||||
|
Error uint64 `json:"error" msgpack:"error"`
|
||||||
|
Return []byte `json:"return" msgpack:"return"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (act ActionTrace) GetData() (map[string]interface{}, error) {
|
func (act ActionTrace) GetData() (map[string]interface{}, error) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue