PasswordPusher
PasswordPusher copied to clipboard
New Page: EVM quirks
This page should be a collection of all the little low level idiosyncracies. Code examples would be optional. This page should be succinct, and mostly link to external references.
Things like:
- Only 63/64 gas is forwarded on a CALL (EIP 150)
- If a contract is SelfDestructed, it isn't removed from state until after the transaction is completed. (Yellow paper 6.1)
- A call to a contract with no code places a
0x1on the stack.
This paper might be useful for this section Solidity Parsing Using SmaCC: Challenges and Irregularities
blockhashonly works for 256 most recent, excluding current, blocks
^ good example.
I believe that this is changing in Constantinople. See http://swende.se/blog/Blockhash-Refactor.html. There will still be non-obvious limitations on what hashes you can retrieve, but it will no longer be limited to the most recent 256.