Better tracing for VM run:
+ vm.info --> is giving just ops + vm.debug --> gives mass of information about stack/memory/storage during each op
This commit is contained in:
parent
60b288d4fa
commit
48691c745a
|
@ -59,7 +59,8 @@ public class VM {
|
|||
|
||||
byte op = program.getCurrentOp();
|
||||
program.setLastOp(op);
|
||||
logger.debug("[ {} ] Op: {}" ,program.getPC(), OpCode.code(op).name());
|
||||
logger.info("[ {} ] Op: [ {} ] Gas: [ {} ]" ,program.getPC(),
|
||||
OpCode.code(op).name(), program.getGas().longValue());
|
||||
|
||||
int oldMemSize = program.getMemSize();
|
||||
|
||||
|
|
Loading…
Reference in New Issue