diff options
author | cdetrio <cdetrio@gmail.com> | 2017-09-22 16:22:56 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2017-09-22 16:22:56 +0800 |
commit | 673007d7aed1d2678ea3277eceb7b55dc29cf092 (patch) | |
tree | 8c65442124a473963113208bf109321c85d9c777 /cmd/evm/json_logger.go | |
parent | d558a595adf4e89bab5b28ffde1448dc1e5768b0 (diff) | |
download | dexon-673007d7aed1d2678ea3277eceb7b55dc29cf092.tar.gz dexon-673007d7aed1d2678ea3277eceb7b55dc29cf092.tar.zst dexon-673007d7aed1d2678ea3277eceb7b55dc29cf092.zip |
core/vm: standard vm traces (#15035)
Diffstat (limited to 'cmd/evm/json_logger.go')
-rw-r--r-- | cmd/evm/json_logger.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/evm/json_logger.go b/cmd/evm/json_logger.go index 2cfeaa795..eb7b0c466 100644 --- a/cmd/evm/json_logger.go +++ b/cmd/evm/json_logger.go @@ -40,7 +40,7 @@ func (l *JSONLogger) CaptureState(env *vm.EVM, pc uint64, op vm.OpCode, gas, cos log := vm.StructLog{ Pc: pc, Op: op, - Gas: gas + cost, + Gas: gas, GasCost: cost, MemorySize: memory.Len(), Storage: nil, |