@@ -104,16 +104,17 @@ type callContext struct {
104104
105105// callTrace is the result of a callTracer run.
106106type 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"`
117118}
118119
119120// callTracerTest defines a single test to check the call tracer against.
0 commit comments