openethereum/ethcore/res/ethereum
André Silva 804ddfe31e [Beta] Backports (#7945)
* ECIP 1041 - Remove Difficulty Bomb (#7905)

Enable difficulty bomb defusion at block:
 - 5900000 on Ethereum Classic mainnet,
 - 2300000 on morden testnet.

Reference:
https://github.com/ethereumproject/ECIPs/blob/master/ECIPs/ECIP-1041.md

* spec: Validate required divisor fields are not 0 (#7933)

* Add validate_non_zero function

It's used to validate that a Spec's uint field used as a divisor is not zero.

* Add deserialize_with to gas_limit_bound_divisor

Prevents panics due to divide-by-zero on the gas_limit_bound_divisor
field.

* Add deserialize_with to difficulty_bound_divisor

Prevents panics due to divide-by-zero on the difficulty_bound_divisor
field.

* Add validate_optional_non_zero function

Used to validate Option<Uint> divisor fields.

* Use deserialize_with on optional divisor fields.

* Add #[serde(default)] attribute to divisor fields

When using `#[serde(deserialize_with)]`, `#[serde(default)]` must be specified so that missing
fields can be deserialized with the deserializer for `None`.

* Kovan WASM fork code (#7849)

* kovan fork code

* introduce ethcore level vm_factory and let it fail

* fix json tests

* wasmcosts as option

* review changes

* wasm costs in parser

* fix evm tests

* review fixes

* fix test

* remove redundant json field
2018-02-19 16:05:21 +01:00
..
tests@b6011c3fb5 Fixed tests after rename 2017-10-10 17:48:37 +02:00
byzantium_test.json Generalize engine trait (#6591) 2017-09-26 14:19:08 +02:00
classic.json [Beta] Backports (#7945) 2018-02-19 16:05:21 +01:00
constantinople_test.json Generalize engine trait (#6591) 2017-09-26 14:19:08 +02:00
eip150_test.json Generalize engine trait (#6591) 2017-09-26 14:19:08 +02:00
eip161_test.json Generalize engine trait (#6591) 2017-09-26 14:19:08 +02:00
ellaism.json Add registrar for ellaism 2017-12-06 22:46:19 +08:00
expanse.json Expanse Byzantium update w/ correct metropolis difficulty increment divisor (#7463) 2018-01-05 13:49:07 +01:00
foundation.json Update Parity Mainnet Bootnodes (#7476) 2018-01-08 15:06:08 +01:00
frontier_like_test.json Generalize engine trait (#6591) 2017-09-26 14:19:08 +02:00
frontier_test.json Generalize engine trait (#6591) 2017-09-26 14:19:08 +02:00
homestead_test.json Generalize engine trait (#6591) 2017-09-26 14:19:08 +02:00
kovan_wasm_test.json [Beta] Backports (#7945) 2018-02-19 16:05:21 +01:00
kovan.json Update kovan boot nodes 2017-12-15 15:29:48 +01:00
mcip3_test.json Add Musicoin and MCIP-3 UBI hardfork. (#6621) 2017-10-08 18:17:59 +02:00
morden.json [Beta] Backports (#7945) 2018-02-19 16:05:21 +01:00
musicoin.json Add Musicoin and MCIP-3 UBI hardfork. (#6621) 2017-10-08 18:17:59 +02:00
olympic.json Generalize engine trait (#6591) 2017-09-26 14:19:08 +02:00
ropsten.json Backport Core PRs to beta (#7891) 2018-02-14 16:13:38 +01:00
transition_test.json Generalize engine trait (#6591) 2017-09-26 14:19:08 +02:00