openethereum/ethcore/res/ethereum
Wei Tang 915c366056
EIP 1283: Net gas metering for SSTORE without dirty maps (#9319)
* Implement last_checkpoint_storage_at

* Add reverted_storage_at for externalities

* sstore_clears_count -> sstore_clears_refund

* Implement eip1283 for evm

* Add eip1283Transition params

* evm: fix tests

* jsontests: fix test

* Return checkpoint index when creating

* Comply with spec Version II

* Fix docs

* Fix jsontests feature compile

* Address grumbles

* Fix no-checkpoint-entry case

* Remove unnecessary expect

* Add test for State::checkpoint_storage_at

* Add executive level test for eip1283

* Hard-code transaction_checkpoint_index to 0

* Fix jsontests

* Add tests for checkpoint discard/revert

* Require checkpoint to be empty for kill_account and commit

* Get code coverage

* Use saturating_add/saturating_sub

* Fix issues in insert_cache

* Clear the state again

* Fix original_storage_at

* Early return for empty RLP trie storage

* Update comments

* Fix borrow_mut issue

* Simplify checkpoint_storage_at if branches

* Better commenting for gas handling code

* Address naming grumbles

* More tests

* Fix an issue in overwrite_with

* Add another test

* Fix comment

* Remove unnecessary bracket

* Move orig to inner if

* Remove test coverage for this PR

* Add tests for executive original value

* Add warn! for an unreachable cause
2018-09-07 18:51:08 +08:00
..
tests@b6011c3fb5 Fixed tests after rename 2017-10-10 17:48:37 +02:00
byzantium_test.json Refactor EIP150, EIP160 and EIP161 forks to be specified in CommonParams (#8614) 2018-05-22 12:24:09 +08:00
classic.json Add EIP-1014 transition config flag (#9268) 2018-08-31 23:43:51 +08:00
constantinople_test.json EIP 1283: Net gas metering for SSTORE without dirty maps (#9319) 2018-09-07 18:51:08 +08:00
easthub.json Add EIP-1014 transition config flag (#9268) 2018-08-31 23:43:51 +08:00
eip150_test.json Add EIP-1014 transition config flag (#9268) 2018-08-31 23:43:51 +08:00
eip161_test.json Add EIP-1014 transition config flag (#9268) 2018-08-31 23:43:51 +08:00
ellaism.json Add EIP-1014 transition config flag (#9268) 2018-08-31 23:43:51 +08:00
expanse.json Add EIP-1014 transition config flag (#9268) 2018-08-31 23:43:51 +08:00
foundation.json Add EIP-1014 transition config flag (#9268) 2018-08-31 23:43:51 +08:00
frontier_like_test.json Add EIP-1014 transition config flag (#9268) 2018-08-31 23:43:51 +08:00
frontier_test.json Add EIP-1014 transition config flag (#9268) 2018-08-31 23:43:51 +08:00
homestead_test.json Add EIP-1014 transition config flag (#9268) 2018-08-31 23:43:51 +08:00
kovan_wasm_test.json Kovan WASM fork code (#7849) 2018-02-19 12:27:42 +01:00
kovan.json Update hardcoded sync (#9421) 2018-08-29 16:56:25 +01:00
mcip3_test.json Add EIP-1014 transition config flag (#9268) 2018-08-31 23:43:51 +08:00
mcip6_byz.json Add EIP-1014 transition config flag (#9268) 2018-08-31 23:43:51 +08:00
morden.json Add EIP-1014 transition config flag (#9268) 2018-08-31 23:43:51 +08:00
musicoin.json Add EIP-1014 transition config flag (#9268) 2018-08-31 23:43:51 +08:00
olympic.json Add EIP-1014 transition config flag (#9268) 2018-08-31 23:43:51 +08:00
poacore.json Add POA Networks: Core and Sokol (#9413) 2018-08-30 21:32:47 +02:00
poasokol.json Add POA Networks: Core and Sokol (#9413) 2018-08-30 21:32:47 +02:00
ropsten.json Add EIP-1014 transition config flag (#9268) 2018-08-31 23:43:51 +08:00
social.json Add EIP-1014 transition config flag (#9268) 2018-08-31 23:43:51 +08:00
tobalaba.json Update tobalaba.json (#9419) 2018-08-28 14:06:36 +02:00
transition_test.json Refactor EIP150, EIP160 and EIP161 forks to be specified in CommonParams (#8614) 2018-05-22 12:24:09 +08:00