core/vm: marshall returnData as hexstring in trace logs (#21715)

* core/vm: marshall returnData as hexstring in trace logs

* core/vm: marshall returnData as hexstring in trace logs
This commit is contained in:
Marius van der Wijden
2020-10-16 11:28:03 +02:00
committed by GitHub
parent 51d026ca85
commit b305591e14
2 changed files with 4 additions and 3 deletions

View File

@ -82,6 +82,7 @@ type structLogMarshaling struct {
Gas math.HexOrDecimal64
GasCost math.HexOrDecimal64
Memory hexutil.Bytes
ReturnData hexutil.Bytes
OpName string `json:"opName"` // adds call to OpName() in MarshalJSON
ErrorString string `json:"error"` // adds call to ErrorString() in MarshalJSON
}