-
Notifications
You must be signed in to change notification settings - Fork 309
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
Clean up the Java interface #548
Labels
Comments
This was referenced Oct 9, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently the Java interface exposes a lot of internal C structures to Java:
evmc_tx_context
inHostContext.getTxContext
evmc_message
andevmc_result
inHostContext.call
andEvmcVm.execute
Besides that none of the basic types are represented as objects, but as
byte[]
, i.e. address, balance, storage key, storage value, etc.It would make sense to create Java appropriates for
Then there needs to be some translation in place which can serialise/deserialise these to the appropriate byte representation expected by the C interface.
The text was updated successfully, but these errors were encountered: