Merge pull request #5 from openrelayxyz/feature/tracer-capture-enter
updated interface to relfect changes to tracer interface
This commit is contained in:
commit
c180779400
@ -66,6 +66,8 @@ type TracerResult interface {
|
|||||||
CaptureState(pc uint64, op OpCode, gas, cost uint64, scope ScopeContext, rData []byte, depth int, err error)
|
CaptureState(pc uint64, op OpCode, gas, cost uint64, scope ScopeContext, rData []byte, depth int, err error)
|
||||||
CaptureFault(pc uint64, op OpCode, gas, cost uint64, scope ScopeContext, depth int, err error)
|
CaptureFault(pc uint64, op OpCode, gas, cost uint64, scope ScopeContext, depth int, err error)
|
||||||
CaptureEnd(output []byte, gasUsed uint64, t time.Duration, err error)
|
CaptureEnd(output []byte, gasUsed uint64, t time.Duration, err error)
|
||||||
|
CaptureEnter(typ OpCode, from Address, to Address, input []byte, gas uint64, value *big.Int)
|
||||||
|
CaptureExit(output []byte, gasUsed uint64, err error)
|
||||||
Result() (interface{}, error)
|
Result() (interface{}, error)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user