Files
nanoreth/crates/rpc/rpc-testing-util/assets/noop-tracer.js
2023-06-15 20:47:17 +00:00

8 lines
291 B
JavaScript

{
// required function that is invoked when a step fails
fault: function(log, db) { },
// required function that returns the result of the tracer: empty object
result: function(ctx, db) { return {}; },
// optional function that is invoked for every opcode
step: function(log, db) { }
}