aboutsummaryrefslogtreecommitdiffstats
path: root/internal/ethapi
diff options
context:
space:
mode:
authorMartin Holst Swende <martin@swende.se>2017-06-07 23:09:08 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-06-07 23:09:08 +0800
commit80f7c6c2996ad47f70a5070c400b1fd87a20c59c (patch)
tree8ad4108832ddd5e0b0c2223ebef8c5dad26ad3cd /internal/ethapi
parentbc24b7a91218ab34f10a145467f6ef380a5d22aa (diff)
downloadgo-tangerine-80f7c6c2996ad47f70a5070c400b1fd87a20c59c.tar
go-tangerine-80f7c6c2996ad47f70a5070c400b1fd87a20c59c.tar.gz
go-tangerine-80f7c6c2996ad47f70a5070c400b1fd87a20c59c.tar.bz2
go-tangerine-80f7c6c2996ad47f70a5070c400b1fd87a20c59c.tar.lz
go-tangerine-80f7c6c2996ad47f70a5070c400b1fd87a20c59c.tar.xz
go-tangerine-80f7c6c2996ad47f70a5070c400b1fd87a20c59c.tar.zst
go-tangerine-80f7c6c2996ad47f70a5070c400b1fd87a20c59c.zip
cmd/evm: add --prestate, --sender, --json flags for fuzzing (#14476)
Diffstat (limited to 'internal/ethapi')
-rw-r--r--internal/ethapi/tracer.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/internal/ethapi/tracer.go b/internal/ethapi/tracer.go
index d34363564..fc66839ea 100644
--- a/internal/ethapi/tracer.go
+++ b/internal/ethapi/tracer.go
@@ -21,6 +21,7 @@ import (
"errors"
"fmt"
"math/big"
+ "time"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/hexutil"
@@ -344,6 +345,12 @@ func (jst *JavascriptTracer) CaptureState(env *vm.EVM, pc uint64, op vm.OpCode,
return nil
}
+// CaptureEnd is called after the call finishes
+func (jst *JavascriptTracer) CaptureEnd(output []byte, gasUsed uint64, t time.Duration) error {
+ //TODO! @Arachnid please figure out of there's anything we can use this method for
+ return nil
+}
+
// GetResult calls the Javascript 'result' function and returns its value, or any accumulated error
func (jst *JavascriptTracer) GetResult() (result interface{}, err error) {
if jst.err != nil {