design icon indicating copy to clipboard operation
design copied to clipboard

evm2wasm specific EEI methods

Open axic opened this issue 7 years ago • 1 comments

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.

axic avatar Aug 30 '18 23:08 axic

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.

s1na avatar Apr 08 '19 18:04 s1na