-
Notifications
You must be signed in to change notification settings - Fork 310
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
EVMC precompiles #259
Comments
Currently there is no "full" way to bypass Host when executing precompiles because they might be executed with |
Informational EIP proposed: ethereum/EIPs#2003. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Implementation
The EVMC precompiles module has to implement EVMC VM API what boils down the
execute()
method.In the
execute()
it receives the message with all the information needed to compute the result, which includes:Other fields are not relevant and can be ignored.
The result is returned from the
execute()
function. The result includes:The EVMC precompiles can ignore the Host interface (i.e. methods for state query and modification) entirely. This also means that Clients do not have to implement it if they only want to use EVMC precompiles. This should make EVMC integration easier.
Integration
Precompiles capability, Host driven
The text was updated successfully, but these errors were encountered: