diff options
author | Martin Holst Swende <martin@swende.se> | 2017-01-23 05:14:09 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2017-01-23 05:14:09 +0800 |
commit | 935d891e9db870edde6b37ad84bb21d7df19c383 (patch) | |
tree | 543641c175fce59216f683bfd97ff2b432a8c92a /cmd/evm | |
parent | 682875adff760a29a2bb0024190883e4b4dd5d72 (diff) | |
download | go-tangerine-935d891e9db870edde6b37ad84bb21d7df19c383.tar.gz go-tangerine-935d891e9db870edde6b37ad84bb21d7df19c383.tar.zst go-tangerine-935d891e9db870edde6b37ad84bb21d7df19c383.zip |
cmd/evm: added debug flag (back) (#3554)
* evm: added debug flag (back)
* cmd/evm: gofmt
Diffstat (limited to 'cmd/evm')
-rw-r--r-- | cmd/evm/main.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/evm/main.go b/cmd/evm/main.go index 035cf1c54..9f67e6628 100644 --- a/cmd/evm/main.go +++ b/cmd/evm/main.go @@ -161,6 +161,7 @@ func run(ctx *cli.Context) error { Value: common.Big(ctx.GlobalString(ValueFlag.Name)), EVMConfig: vm.Config{ Tracer: logger, + Debug: ctx.GlobalBool(DebugFlag.Name), DisableGasMetering: ctx.GlobalBool(DisableGasMeteringFlag.Name), }, }) @@ -176,6 +177,7 @@ func run(ctx *cli.Context) error { Value: common.Big(ctx.GlobalString(ValueFlag.Name)), EVMConfig: vm.Config{ Tracer: logger, + Debug: ctx.GlobalBool(DebugFlag.Name), DisableGasMetering: ctx.GlobalBool(DisableGasMeteringFlag.Name), }, }) |