tracing: Remove "steps" parameter

This commit is contained in:
Paweł Bylica 2018-07-18 13:25:29 +02:00
parent 59dc54ef5d
commit 17d95f2b8f
No known key found for this signature in database
GPG Key ID: 7A0C037434FE77EF
2 changed files with 1 additions and 5 deletions

View File

@ -710,9 +710,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.
@ -729,7 +726,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,

View File

@ -63,7 +63,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)