diff options
author | Péter Szilágyi <peterke@gmail.com> | 2018-03-02 20:35:02 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-03-05 20:01:13 +0800 |
commit | b7e57ca1d029d08d214a098d7aa123201b121774 (patch) | |
tree | a6b744b7af001b8bbd2e0e2ef93f11586ab4d38c /cmd/evm/runner.go | |
parent | 478143d69a13103a6809ef41a64b25db8c2438ee (diff) | |
download | dexon-b7e57ca1d029d08d214a098d7aa123201b121774.tar.gz dexon-b7e57ca1d029d08d214a098d7aa123201b121774.tar.zst dexon-b7e57ca1d029d08d214a098d7aa123201b121774.zip |
cmd/evm, core/vm, internal/ethapi: don't disable call gas metering
Diffstat (limited to 'cmd/evm/runner.go')
-rw-r--r-- | cmd/evm/runner.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cmd/evm/runner.go b/cmd/evm/runner.go index a9a2e5420..8a7399840 100644 --- a/cmd/evm/runner.go +++ b/cmd/evm/runner.go @@ -161,9 +161,8 @@ func runCmd(ctx *cli.Context) error { GasPrice: utils.GlobalBig(ctx, PriceFlag.Name), Value: utils.GlobalBig(ctx, ValueFlag.Name), EVMConfig: vm.Config{ - Tracer: tracer, - Debug: ctx.GlobalBool(DebugFlag.Name) || ctx.GlobalBool(MachineFlag.Name), - DisableGasMetering: ctx.GlobalBool(DisableGasMeteringFlag.Name), + Tracer: tracer, + Debug: ctx.GlobalBool(DebugFlag.Name) || ctx.GlobalBool(MachineFlag.Name), }, } |