aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-08-22 17:31:47 +0800
committerGitHub <noreply@github.com>2016-08-22 17:31:47 +0800
commitf81cff539a966bd0d5f86798fec16e8a279f380a (patch)
treef96bd925f4d55680d98e6236d3bdbd9ab2fadd9f /tests
parent37bda7e029c160cdfa277fc4689fb58bc8d6a9df (diff)
parent781915f183c6e09474c6192d1aaba8e99c4990de (diff)
downloaddexon-f81cff539a966bd0d5f86798fec16e8a279f380a.tar
dexon-f81cff539a966bd0d5f86798fec16e8a279f380a.tar.gz
dexon-f81cff539a966bd0d5f86798fec16e8a279f380a.tar.bz2
dexon-f81cff539a966bd0d5f86798fec16e8a279f380a.tar.lz
dexon-f81cff539a966bd0d5f86798fec16e8a279f380a.tar.xz
dexon-f81cff539a966bd0d5f86798fec16e8a279f380a.tar.zst
dexon-f81cff539a966bd0d5f86798fec16e8a279f380a.zip
Merge pull request #2923 from Arachnid/tracing
core: Refactor tracing to make Tracer the main interface
Diffstat (limited to 'tests')
-rw-r--r--tests/util.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/util.go b/tests/util.go
index 8d1917d15..79c3bfad1 100644
--- a/tests/util.go
+++ b/tests/util.go
@@ -166,8 +166,6 @@ type Env struct {
difficulty *big.Int
gasLimit *big.Int
- logs []vm.StructLog
-
vmTest bool
evm *vm.EVM
@@ -181,14 +179,6 @@ func NewEnv(ruleSet RuleSet, state *state.StateDB) *Env {
return env
}
-func (self *Env) StructLogs() []vm.StructLog {
- return self.logs
-}
-
-func (self *Env) AddStructLog(log vm.StructLog) {
- self.logs = append(self.logs, log)
-}
-
func NewEnvFromMap(ruleSet RuleSet, state *state.StateDB, envValues map[string]string, exeValues map[string]string) *Env {
env := NewEnv(ruleSet, state)