diff --git a/eth/tracers/tracer.go b/eth/tracers/tracer.go index 0b216e362..bf4bd634a 100644 --- a/eth/tracers/tracer.go +++ b/eth/tracers/tracer.go @@ -662,6 +662,13 @@ func (jst *Tracer) GetResult() (json.RawMessage, error) { case *big.Int: pushBigInt(val, jst.vm) + case int: + jst.vm.PushInt(val) + + case common.Hash: + ptr := jst.vm.PushFixedBuffer(32) + copy(makeSlice(ptr, 32), val[:]) + default: panic(fmt.Sprintf("unsupported type: %T", val)) }