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

Create a library out of example_host #334

Closed
axic opened this issue Jun 26, 2019 · 5 comments · Fixed by #456
Closed

Create a library out of example_host #334

axic opened this issue Jun 26, 2019 · 5 comments · Fixed by #456

Comments

@axic
Copy link
Member

axic commented Jun 26, 2019

The example_host already implements a lot of what a minimal client for testing needs.

It may make sense creating a library out of it, so that it could be shared with Solidity. This library could be provide a C++ interface wrapping everything needed for testing (aka a memory-only single node client).

@chfast @chriseth what do you think?

@chfast
Copy link
Member

chfast commented Jun 26, 2019

Not bad idea, I already use it for EVMC testing.

@axic
Copy link
Member Author

axic commented Jun 27, 2019

To bad idea, I already use it for EVMC testing.

Too bad?

@chfast
Copy link
Member

chfast commented Jun 27, 2019

To bad idea, I already use it for EVMC testing.

Too bad?

ToNot. I should not work at nights.

@chfast
Copy link
Member

chfast commented Jun 27, 2019

Here is more functional one: https://github.com/ethereum/evmone/blob/master/test/utils/host_mock.hpp
Used for evmone unit testing and EVM fuzzing.

@axic
Copy link
Member Author

axic commented Nov 15, 2019

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 a pull request may close this issue.

2 participants