Closed axic closed 6 years ago
We are trying to avoid the implicit reporting. Also hope that before eWASM is final, the blockhash EIP will be merged and we could remove this interface.
The other question is shouldn't al the other non-returning but data writing methods have a return value? e.g. codeCopy
, externalCodeCopy
, etc.
Probably they should. VM should also has an information whenever an account exists.
Updated to match #77 and added a comment regarding the output memory.
As an alternative, we could have the behavior
BLOCKHASH(num>256) = 0x0...0
in order to be more EVM-compliant.However, this proposed solution is more transparent IMO.