Skip to content

RFC: Introduce opcode tracer#2

Open
hi-im-milan wants to merge 1 commit intokjcamann:mainfrom
hi-im-milan:opcode-tracer
Open

RFC: Introduce opcode tracer#2
hi-im-milan wants to merge 1 commit intokjcamann:mainfrom
hi-im-milan:opcode-tracer

Conversation

@hi-im-milan
Copy link

Why

Running precompiled smart contracts is cool, but we sometimes want to get more detailed information about the execution. For example to implement a debugger.

This patch adds support for opcode tracer - allows capturing of each executed opcode. When opcode tracer is enabled, smart contracts can only be executed in interpreter mode.

When enabled monad will always execute transactions in
interpreter mode and invoke on_opcode callback before executing
every opcode.

Signed-off-by: Milan Pandurov <milan.pandurov@tenderly.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments