good morning!!!!

Skip to content
Snippets Groups Projects
Commit 935d891e authored by Martin Holst Swende's avatar Martin Holst Swende Committed by Jeffrey Wilcke
Browse files

cmd/evm: added debug flag (back) (#3554)

* evm: added debug flag (back)

* cmd/evm: gofmt
parent 682875ad
No related merge requests found
...@@ -161,6 +161,7 @@ func run(ctx *cli.Context) error { ...@@ -161,6 +161,7 @@ func run(ctx *cli.Context) error {
Value: common.Big(ctx.GlobalString(ValueFlag.Name)), Value: common.Big(ctx.GlobalString(ValueFlag.Name)),
EVMConfig: vm.Config{ EVMConfig: vm.Config{
Tracer: logger, Tracer: logger,
Debug: ctx.GlobalBool(DebugFlag.Name),
DisableGasMetering: ctx.GlobalBool(DisableGasMeteringFlag.Name), DisableGasMetering: ctx.GlobalBool(DisableGasMeteringFlag.Name),
}, },
}) })
...@@ -176,6 +177,7 @@ func run(ctx *cli.Context) error { ...@@ -176,6 +177,7 @@ func run(ctx *cli.Context) error {
Value: common.Big(ctx.GlobalString(ValueFlag.Name)), Value: common.Big(ctx.GlobalString(ValueFlag.Name)),
EVMConfig: vm.Config{ EVMConfig: vm.Config{
Tracer: logger, Tracer: logger,
Debug: ctx.GlobalBool(DebugFlag.Name),
DisableGasMetering: ctx.GlobalBool(DisableGasMeteringFlag.Name), DisableGasMetering: ctx.GlobalBool(DisableGasMeteringFlag.Name),
}, },
}) })
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment