@@ -104,16 +104,17 @@ type callContext struct {
104
104
105
105
// callTrace is the result of a callTracer run.
106
106
type callTrace struct {
107
- Type string `json:"type"`
108
- From common.Address `json:"from"`
109
- To common.Address `json:"to"`
110
- Input hexutil.Bytes `json:"input"`
111
- Output hexutil.Bytes `json:"output"`
112
- Gas * hexutil.Uint64 `json:"gas,omitempty"`
113
- GasUsed * hexutil.Uint64 `json:"gasUsed,omitempty"`
114
- Value * hexutil.Big `json:"value,omitempty"`
115
- Error string `json:"error,omitempty"`
116
- Calls []callTrace `json:"calls,omitempty"`
107
+ Type string `json:"type"`
108
+ From common.Address `json:"from"`
109
+ To common.Address `json:"to"`
110
+ Input hexutil.Bytes `json:"input"`
111
+ Output hexutil.Bytes `json:"output"`
112
+ Gas * hexutil.Uint64 `json:"gas,omitempty"`
113
+ GasUsed * hexutil.Uint64 `json:"gasUsed,omitempty"`
114
+ Value * hexutil.Big `json:"value,omitempty"`
115
+ Error string `json:"error,omitempty"`
116
+ Revertal string `json:"revertReason,omitempty"`
117
+ Calls []callTrace `json:"calls,omitempty"`
117
118
}
118
119
119
120
// callTracerTest defines a single test to check the call tracer against.
0 commit comments