diff options
author | zelig <viktor.tron@gmail.com> | 2015-03-24 01:08:49 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2015-03-24 01:08:49 +0800 |
commit | a983a215dc50240615cc1efe5199c72cefe037ed (patch) | |
tree | 944331bc2f2cb89b847bef201b7d3851a73a72b0 /cmd | |
parent | 9880f99ccb81477f1026db68c123aa548297c648 (diff) | |
download | dexon-a983a215dc50240615cc1efe5199c72cefe037ed.tar.gz dexon-a983a215dc50240615cc1efe5199c72cefe037ed.tar.zst dexon-a983a215dc50240615cc1efe5199c72cefe037ed.zip |
fix ethtest logging
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/ethtest/main.go | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/cmd/ethtest/main.go b/cmd/ethtest/main.go index f5b423e8d..952ba1bd6 100644 --- a/cmd/ethtest/main.go +++ b/cmd/ethtest/main.go @@ -33,12 +33,12 @@ import ( "strings" "github.com/ethereum/go-ethereum/common" + "github.com/ethereum/go-ethereum/core/state" "github.com/ethereum/go-ethereum/core/types" + "github.com/ethereum/go-ethereum/core/vm" "github.com/ethereum/go-ethereum/ethdb" "github.com/ethereum/go-ethereum/logger" - "github.com/ethereum/go-ethereum/core/state" "github.com/ethereum/go-ethereum/tests/helper" - "github.com/ethereum/go-ethereum/core/vm" ) type Log struct { @@ -80,8 +80,7 @@ func StateObjectFromAccount(db common.Database, addr string, account Account) *s } type VmTest struct { - Callcreates interface{} - //Env map[string]string + Callcreates interface{} Env Env Exec map[string]string Transaction map[string]string @@ -219,7 +218,7 @@ func RunVmTest(r io.Reader) (failed int) { } func main() { - //helper.Logger.SetLogLevel(5) + helper.Logger.SetLogLevel(5) vm.Debug = true if len(os.Args) > 1 { |