@ -126,9 +126,7 @@ public class StandardJsonTracer implements OperationTracer {
for ( int i = messageFrame . stackSize ( ) - 1 ; i > = 0 ; i - - ) {
for ( int i = messageFrame . stackSize ( ) - 1 ; i > = 0 ; i - - ) {
stack . add ( "\"" + shortBytes ( messageFrame . getStackItem ( i ) ) + "\"" ) ;
stack . add ( "\"" + shortBytes ( messageFrame . getStackItem ( i ) ) + "\"" ) ;
}
}
pc =
pc = messageFrame . getPC ( ) - messageFrame . getCode ( ) . getCodeSection ( 0 ) . getEntryPoint ( ) ;
messageFrame . getPC ( )
- messageFrame . getCode ( ) . getCodeSection ( messageFrame . getSection ( ) ) . getEntryPoint ( ) ;
section = messageFrame . getSection ( ) ;
section = messageFrame . getSection ( ) ;
gas = shortNumber ( messageFrame . getRemainingGas ( ) ) ;
gas = shortNumber ( messageFrame . getRemainingGas ( ) ) ;
memorySize = messageFrame . memoryWordSize ( ) * 32 ;
memorySize = messageFrame . memoryWordSize ( ) * 32 ;
@ -171,6 +169,9 @@ public class StandardJsonTracer implements OperationTracer {
public void tracePostExecution (
public void tracePostExecution (
final MessageFrame messageFrame , final Operation . OperationResult executeResult ) {
final MessageFrame messageFrame , final Operation . OperationResult executeResult ) {
final Operation currentOp = messageFrame . getCurrentOperation ( ) ;
final Operation currentOp = messageFrame . getCurrentOperation ( ) ;
if ( currentOp . isVirtualOperation ( ) ) {
return ;
}
final int opcode = currentOp . getOpcode ( ) ;
final int opcode = currentOp . getOpcode ( ) ;
final Bytes returnData = messageFrame . getReturnData ( ) ;
final Bytes returnData = messageFrame . getReturnData ( ) ;