Updated wrappers to reflect changes to tracer functions
This commit is contained in:
parent
6a86c8934a
commit
c8e3e83641
@ -101,6 +101,12 @@ func (w WrappedTracer) CaptureFault(env *vm.EVM, pc uint64, op vm.OpCode, gas, c
|
|||||||
func (w WrappedTracer) CaptureEnd(output []byte, gasUsed uint64, t time.Duration, err error) {
|
func (w WrappedTracer) CaptureEnd(output []byte, gasUsed uint64, t time.Duration, err error) {
|
||||||
w.r.CaptureEnd(output, gasUsed, t, err)
|
w.r.CaptureEnd(output, gasUsed, t, err)
|
||||||
}
|
}
|
||||||
|
func (w WrappedTracer) CaptureEnter(typ vm.OpCode, from common.Address, to common.Address, input []byte, gas uint64, value *big.Int) {
|
||||||
|
w.r.CaptureEnter(core.OpCode(typ), core.Address(from), core.Address(to), input, gas, value)
|
||||||
|
}
|
||||||
|
func (w WrappedTracer) CaptureExit(output []byte, gasUsed uint64, err error) {
|
||||||
|
w.r.CaptureExit(output, gasUsed, err)
|
||||||
|
}
|
||||||
func (w WrappedTracer) GetResult() (interface{}, error) {
|
func (w WrappedTracer) GetResult() (interface{}, error) {
|
||||||
return w.r.Result()
|
return w.r.Result()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user