mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-02-26 10:55:41 +00:00
New pragma `{.show.}` on a proc definition turns on tracing for that proc. Every call to it shows the name, arguments and results, if `show_tx_calls` is manually set to true. This is to trace calls from EVM to host. This started as a template which took a block expression, but the closure it used led to illegal capture errors. It was easier to write a macro. Signed-off-by: Jamie Lokier <jamie@shareable.org>