Commit Graph

3 Commits

Author SHA1 Message Date
Paweł Bylica e58c4d5d60 EIP-210: Fixes for blockhash contracts (#1094)
* EIP-210: Fix blockhash contract for block number 1

This fixes the issue in the contract when executed from SYSTEM account at block 1. Then the number of the previous block is 0 and the contract executes the loop forever.

* EIP-210: Correctly handle argument with negative value

Fix fixes the issue in the blockhash contract where the negative value of the argument is not properly handled.
2018-10-15 12:33:05 +01:00
Nick Savers 901ccdebb4 Update eip-210.md (#1022)
core => Core
2018-04-22 08:03:21 +01:00
vbuterin dc16346833 Create blockhash_refactoring.md (#210)
* Create blockhash_refactoring.md

Stores blockhashes in the state, reducing the protocol complexity and the need for client implementation complexity in order to process the BLOCKHASH opcode. Also extends the range of how far back blockhash checking can go, with the side effect of creating direct links between blocks with very distant block numbers, facilitating much more efficient initial light client syncing.

* Update blockhash_refactoring.md

* Update blockhash_refactoring.md

* Update blockhash_refactoring.md

* Update blockhash_refactoring.md

* Update blockhash_refactoring.md

* Update blockhash_refactoring.md

* Update blockhash_refactoring.md

* Update blockhash_refactoring.md

* Update blockhash_refactoring.md

* Update blockhash_refactoring.md

* Rename blockhash_refactoring.md to eip-210.md
2018-04-20 08:32:03 +01:00