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

evm2wasm specific EEI methods #138

Open
axic opened this issue Aug 30, 2018 · 1 comment
Open

evm2wasm specific EEI methods #138

axic opened this issue Aug 30, 2018 · 1 comment

Comments

@axic
Copy link
Member

axic commented Aug 30, 2018

This topic has been touched upon a few times, but never discussed in actual depth.

Not after doing some protoyping with runevm it seems the following features are missing:

  • getTxGasLimit
  • getCallDepth (EIP3 proposes this)
  • getCallType / inStaticMode

Obviously all this is needed if gas calculation is done by evm2wasm as opposed to be part of the EEI.

@s1na
Copy link

s1na commented Apr 8, 2019

Another method required for calculating gas as part of runevm is isAccountEmpty(address), which is used in CALL (and for future constantinople support in EXTCODEHASH). Is there any objections to adding this method? otherwise I'll make a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants