You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should target to have all the content needed for the tracing format as described here: ethereum/tests#249
I propose the following: evmTrace(pc: i32, opcode: i32, cost: i32, sp: i32)
It will then output the following JSON: {'pc': $pc, 'op': $opcode, 'gas': $gasLeft, 'gasCost': $cost, 'stack': $stack, 'depth': $depth} where $gasLeft and $depth are the current values from the environment and $stack is an array of reading 32 bytes from memory_start + $pc and decreasing $pc by 32 until it is less than 0.
The text was updated successfully, but these errors were encountered:
Similar to the
evmStackTrace
method inewasm-kernel
: https://github.com/ewasm/ewasm-kernel/blob/master/debugInterface.js#L30-L40It should target to have all the content needed for the tracing format as described here: ethereum/tests#249
I propose the following:
evmTrace(pc: i32, opcode: i32, cost: i32, sp: i32)
It will then output the following JSON:
{'pc': $pc, 'op': $opcode, 'gas': $gasLeft, 'gasCost': $cost, 'stack': $stack, 'depth': $depth}
where$gasLeft
and$depth
are the current values from the environment and$stack
is an array of reading 32 bytes frommemory_start + $pc
and decreasing$pc
by 32 until it is less than 0.The text was updated successfully, but these errors were encountered: