core/vm, rpc/api: renamed to debug.replayTransaction, migrated to new RPC, integrated feedback

Integrated code review suggestions

Integrated last review comments
This commit is contained in:
Peter Pratscher
2016-01-28 19:21:05 +01:00
parent 528dcc3814
commit 15780ead07
4 changed files with 147 additions and 1 deletions

View File

@ -367,7 +367,7 @@ func (self *Vm) RunPrecompiled(p *PrecompiledAccount, input []byte, contract *Co
// log emits a log event to the environment for each opcode encountered. This is not to be confused with the
// LOG* opcode.
func (self *Vm) log(pc uint64, op OpCode, gas, cost *big.Int, memory *Memory, stack *stack, contract *Contract, err error) {
if Debug {
if Debug || GenerateStructLogs {
mem := make([]byte, len(memory.Data()))
copy(mem, memory.Data())