core/vm: standard vm traces (#15035)

This commit is contained in:
cdetrio
2017-09-22 10:22:56 +02:00
committed by Felix Lange
parent d558a595ad
commit 673007d7ae
2 changed files with 20 additions and 4 deletions
+1 -1
View File
@@ -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,