Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate tracing API #376

Merged
merged 1 commit into from
Aug 5, 2019
Merged

Deprecate tracing API #376

merged 1 commit into from
Aug 5, 2019

Conversation

chfast
Copy link
Member

@chfast chfast commented Aug 5, 2019

Closes #260.

@chfast chfast force-pushed the deprecate_tracing_api branch 2 times, most recently from d97f3a7 to 9b419e0 Compare August 5, 2019 15:38
@chfast chfast requested review from axic and gumb0 August 5, 2019 15:39
@chfast chfast force-pushed the deprecate_tracing_api branch 2 times, most recently from 43e6f50 to 147fd1a Compare August 5, 2019 15:42
*/
EVMC_DEPRECATED
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We cannot put [[deprecated]] attribute here because it makes the evmc_instance non-constuctable in some compilers: https://circleci.com/gh/ethereum/evmc/13261.

@@ -991,6 +991,10 @@ struct evmc_instance
* Optional pointer to function setting the EVM instruction tracer.
*
* If the EVM does not support this feature the pointer can be NULL.
*
* @deprecated
* The tracing API from EVMC 6 has been deprecated as there have been some
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not deprecated in 6.2, should this say from EVMC 6.3 ?

@gumb0
Copy link
Member

gumb0 commented Aug 5, 2019

What about evmc_set_tracer_fn, evmc_trace_callback, evmc_tracer_context, they stay?

@chfast
Copy link
Member Author

chfast commented Aug 5, 2019

What about evmc_set_tracer_fn, evmc_trace_callback, evmc_tracer_context, they stay?

We can only use @deprecated in doxygen there, because otherwise we will generate warnings in other places.

@chfast chfast merged commit 4f7aa2e into master Aug 5, 2019
@chfast chfast deleted the deprecate_tracing_api branch August 5, 2019 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deprecate the tracing API
2 participants