|
|
@ -376,12 +376,9 @@ func (self *Vm) log(pc uint64, op OpCode, gas, cost *big.Int, memory *Memory, st |
|
|
|
stck[i] = new(big.Int).Set(item) |
|
|
|
stck[i] = new(big.Int).Set(item) |
|
|
|
} |
|
|
|
} |
|
|
|
storage := make(map[common.Hash][]byte) |
|
|
|
storage := make(map[common.Hash][]byte) |
|
|
|
/* |
|
|
|
contract.self.EachStorage(func(k, v []byte) { |
|
|
|
object := contract.self.(*state.StateObject) |
|
|
|
|
|
|
|
object.EachStorage(func(k, v []byte) { |
|
|
|
|
|
|
|
storage[common.BytesToHash(k)] = v |
|
|
|
storage[common.BytesToHash(k)] = v |
|
|
|
}) |
|
|
|
}) |
|
|
|
*/ |
|
|
|
|
|
|
|
self.env.AddStructLog(StructLog{pc, op, new(big.Int).Set(gas), cost, mem, stck, storage, err}) |
|
|
|
self.env.AddStructLog(StructLog{pc, op, new(big.Int).Set(gas), cost, mem, stck, storage, err}) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|