832c4a7565
* 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
33 lines
764 B
TOML
33 lines
764 B
TOML
[package]
|
|
name = "evmbin"
|
|
description = "Parity's EVM implementation"
|
|
version = "0.1.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
|
|
[[bin]]
|
|
name = "parity-evm"
|
|
path = "./src/main.rs"
|
|
|
|
[dependencies]
|
|
docopt = "1.0"
|
|
env_logger = "0.5"
|
|
ethcore = { path = "../ethcore", features = ["test-helpers", "json-tests", "to-pod-full"] }
|
|
ethjson = { path = "../json" }
|
|
parity-bytes = "0.1"
|
|
ethcore-transaction = { path = "../ethcore/transaction" }
|
|
ethereum-types = "0.4"
|
|
evm = { path = "../ethcore/evm" }
|
|
panic_hook = { path = "../util/panic_hook" }
|
|
rustc-hex = "1.0"
|
|
serde = "1.0"
|
|
serde_derive = "1.0"
|
|
serde_json = "1.0"
|
|
vm = { path = "../ethcore/vm" }
|
|
|
|
[dev-dependencies]
|
|
pretty_assertions = "0.1"
|
|
tempdir = "0.3"
|
|
|
|
[features]
|
|
evm-debug = ["ethcore/evm-debug-tests"]
|