[go: up one dir, main page]

Etherlink/Revm: base core skeleton module for inspectors/tracers

Context

Part of the tracer project for REVM.

L2-228

This is the base skeleton that implements all the needed interfaces of REVM so we can re-use the interpretation loop for inspectors made by REVM. We gain it for free by implementing the Handler. We just have to call inspect from the EVM object that extend the interface so the hooks attached to the inspectors are triggered. The code is a bit tedious to read but every other tracer implementation should be pretty straighforward (not necessarily to write but at least to read by reviewers).

No testing for now, this is the core base architecture for compilation and make sure the inspector hooks can be triggered.

Edited by Rodi-Can Bozman

Merge request reports

Loading