openethereum/ethcore
cheme 832c4a7565 Add a optional json dump state to evm-bin (#9706)
* Add a dump of the state at the end of transaction for --json-test.
Also fixes json-test output on finish, and allow to put both on err or
out (--out-only and --err-only).

* Dump state resolution from trie, function behind evm-bin feature to avoid misuse.

* Rename 'slow' method to 'to_pod_full'.
Use cache first in 'to_pod_full', for in between commits case.
Change dump activation to use a function pointer instead.

* Fix tests.

* Query and add storage values to dump.

* Switch to use `require` method, even if less efficient it is better in
this case to reuse existing code.
Reuse of `storage_at` was not easy in this case (could not iterate and
use the method at the same time (refcell mutable borrow panics) so
keeping code as is.

* Switch to returning error.
Use 'base_storage_root' instead of 'storage_root'.
Added a test, it will only execute with json-test in ci, or when launch
with the feature.

* Renaming of command line parameters.
Comments fixes.
Minor code changes.

* Fix evmbin cmd parsing test.

* README update.

* Fix extra space and avoid clone call on copiable address.

* Revert test submodule.

* Revert wasm-test submodule.

* Use map_or instead of map + unwrap_or

* restore tests submodule
2018-11-25 20:12:59 +01:00
..
benches Clean up existing benchmarks (#9839) 2018-11-06 21:22:44 +08:00
evm Use expect (#9883) 2018-11-09 14:54:23 +03:00
light Adjust requests costs for light client (#9925) 2018-11-21 20:11:01 +01:00
node_filter new ethabi (#9511) 2018-09-13 11:04:39 +02:00
private-tx Ignore global cache for patched accounts (#9752) 2018-10-31 15:55:11 +00:00
res Disable EIP-98 transition by default (#9955) 2018-11-25 19:59:27 +01:00
service Keep existing blocks when restoring a Snapshot (#8643) 2018-11-18 00:06:34 +01:00
src Add a optional json dump state to evm-bin (#9706) 2018-11-25 20:12:59 +01:00
stratum Replace tokio_core with tokio (ring -> 0.13) (#9657) 2018-10-22 09:40:50 +02:00
sync Adjust requests costs for light client (#9925) 2018-11-21 20:11:01 +01:00
transaction Allow zero chain id in EIP155 signing process (#9792) 2018-10-26 22:44:02 +08:00
types Update a few parity-common dependencies (#9663) 2018-10-09 22:07:25 +02:00
vm Use signed 256-bit integer for sstore gas refund substate (#9746) 2018-10-15 17:09:55 +08:00
wasm Add a optional json dump state to evm-bin (#9706) 2018-11-25 20:12:59 +01:00
Cargo.toml Add a optional json dump state to evm-bin (#9706) 2018-11-25 20:12:59 +01:00