From 673007d7aed1d2678ea3277eceb7b55dc29cf092 Mon Sep 17 00:00:00 2001 From: cdetrio Date: Fri, 22 Sep 2017 04:22:56 -0400 Subject: core/vm: standard vm traces (#15035) --- cmd/evm/json_logger.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/evm/json_logger.go') 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, -- cgit v1.2.3