Skip to content

Commit

Permalink
tracing: Remove "steps" parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
chfast committed Jul 18, 2018
1 parent 680230b commit 925b714
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions include/evmc/evmc.h
Original file line number Diff line number Diff line change
Expand Up @@ -701,9 +701,6 @@ struct evmc_tracer_context;
*
* @param context The pointer to the Client-side tracing context. This allows to
* implement the tracer in OOP manner.
* @param step The instruction counter: number of instructions executed.
* This counter starts from 0 for every message passed to
* ::evmc_execute_fn.
* @param code_offset The current instruction position in the code.
* @param status_code The status code of the instruction execution.
* @param gas_left The amount of the gas left after the instruction execution.
Expand All @@ -720,7 +717,6 @@ struct evmc_tracer_context;
* the instruction execution.
*/
typedef void (*evmc_trace_callback)(struct evmc_tracer_context* context,
int step,
size_t code_offset,
enum evmc_status_code status_code,
int64_t gas_left,
Expand Down
2 changes: 1 addition & 1 deletion test/vmtester/tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ TEST_F(evmc_vm_test, version)

TEST_F(evmc_vm_test, set_tracer)
{
static constexpr auto tracer_callback = [](evmc_tracer_context*, int, size_t, evmc_status_code,
static constexpr auto tracer_callback = [](evmc_tracer_context*, size_t, evmc_status_code,
int64_t, size_t, const evmc_uint256be*, size_t,
size_t, size_t, const uint8_t*) noexcept {};
if (vm->set_tracer)
Expand Down

0 comments on commit 925b714

Please sign in to comment.