@@ -19,16 +19,16 @@ type StateDiff map[common.Address]AccountDiff
1919
2020// ActionTrace represents single interaction with blockchain (OpenEthereum-style trace).
2121type ActionTrace struct {
22- Subtraces uint64 `json:"subtraces"`
23- TraceAddress []uint32 `json:"traceAddress"`
24- TraceType string `json:"type"`
25- Action TAction `json:"action"`
26- Result * TResult `json:"result,omitempty"`
27- Error string `json:"error,omitempty"`
28- BlockHash common.Hash `json:"blockHash"`
29- BlockNumber int64 `json:"blockNumber"`
30- TransactionHash common.Hash `json:"transactionHash"`
31- TransactionPosition uint64 `json:"transactionPosition"`
22+ Subtraces uint64 `json:"subtraces"`
23+ TraceAddress []uint32 `json:"traceAddress"`
24+ TraceType string `json:"type"`
25+ Action TAction `json:"action"`
26+ Result * TResult `json:"result,omitempty"`
27+ Error string `json:"error,omitempty"`
28+ BlockHash common.Hash `json:"blockHash,omitempty "`
29+ BlockNumber int64 `json:"blockNumber"`
30+ TransactionHash common.Hash `json:"transactionHash,omitempty "`
31+ TransactionPosition uint64 `json:"transactionPosition"`
3232}
3333
3434// TAction represents the trace action model (Parity/OpenEthereum style).
0 commit comments