Skip to content

Commit

Permalink
baseline: Fix code passing to notify_execution_start
Browse files Browse the repository at this point in the history
  • Loading branch information
rodiazet committed Nov 28, 2022
1 parent 3c277c5 commit ad70bc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/evmone/baseline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ evmc_result execute(const VM& vm, ExecutionState& state, const CodeAnalysis& ana
auto* tracer = vm.get_tracer();
if (INTX_UNLIKELY(tracer != nullptr))
{
tracer->notify_execution_start(state.rev, *state.msg, code);
tracer->notify_execution_start(state.rev, *state.msg, state.original_code);
dispatch<true>(cost_table, state, code, tracer);
}
else
Expand Down

0 comments on commit ad70bc3

Please sign in to comment.