openethereum/ethcore
Luke Schoen c689495826 refactor: Refactor evmbin CLI (#10742)
* docs: Add comments to run_transaction arguments

* docs: Add general state test example from github.com/ethereum/test

* docs: Add state test file used in ethjson

* refactor: Reorder CLI options. Modify CLI descriptions. See commit comments

* Reorder parity-evm CLI options
* Update descriptions for CLI options
* Change to `--chain PATH` (general) and `--chain CHAIN` (state test)
* Remove unncessary 'Display result state dump in standardized JSON format.

* refactor: Move  function to be ordered after

* refactor: Refactor run_state_test

* refactor: Modify run_stats_jsontests_vm comment to be more specific

* refactor: Refactor run_call

* refactor: Update Args struct including rustdocs

* refactor: Reorder functions in Args struct to match other orders

* tests: Update tests for evmbin

* revert unintentional changes

* comply with style guide

* docs: Info and Display Modules made public so appear in rustdocs

* docs: Rename VM to EVM

* docs: Update rustdocs

* docs: Update state-test cli command comments

Co-Authored-By: David <dvdplm@gmail.com>

* docs: Update chain path cli command description

Co-Authored-By: David <dvdplm@gmail.com>

* docs: Prefix to specify only one chain type to be provided

Co-Authored-By: David <dvdplm@gmail.com>

* docs: Update to be lowercase fat

Co-Authored-By: David <dvdplm@gmail.com>

* rename err to stderr, out to stdout

* revert to wei for gas price

* review-fix: Do not expose private modules but still show docs

View docs with:
```
cargo doc -p evmbin --document-private-items --open
```

* test: Read from file. Add initial tests for state-test CLI command

* review-fix: Change to single TODO that links to new issue to create integration tests

* refactor: Move run_transaction params into fields of a TxInput struct and make doc comments of its fields (#10769)

* Question

* refactor: Further changes for doc comments to be part of public struct

* refactor: Rename InputData to TxInput for clarity in docs

* docs: Change String to fixed length str

Co-Authored-By: Tomasz Drwięga <tomusdrw@users.noreply.github.com>

* refactor: Update evmbin/src/info.rs moving mut into fn declaration

Co-Authored-By: Tomasz Drwięga <tomusdrw@users.noreply.github.com>

* refactor: Update evmbin/src/info.rs moving mut into fn declaration part 2

Co-Authored-By: Tomasz Drwięga <tomusdrw@users.noreply.github.com>

* review-fix: Add missing docs to TxInput transaction and trie_spec

* docs: Improve grammar

* review-fix: Destructure tx_input

* WIP

* review-fix: Rename variables of InputTx

* rename `spec_from_json` to `fork_spec_from_json`
* rename `name` to `state_test_name`
* rename `spec` to `fork_spec_name`
* rename `spec_checked` to `fork_spec`

* review-fix: Rename idx to tx_index

* fix indentation

* review-fix: Add missing part of tests. Yet to fix tests and add assertions

* [evmbin] remove state-db dependency

* [evmbin] run_transaction returns bool

* [evmbin] more cleanup
2019-08-07 16:51:08 +02:00
..
account-db Move more types out of ethcore (#10880) 2019-07-18 12:27:08 +02:00
account-state journaldb changes (#10929) 2019-08-07 01:45:10 +02:00
benches Removed machine abstraction from ethcore (#10791) 2019-06-26 14:16:05 +02:00
blockchain Move DatabaseExtras back to trace (#10868) 2019-07-14 18:35:43 +02:00
builtin ethcore-builtin (#10850) 2019-07-07 16:59:30 +02:00
call-contract docs: Update Readme with TOC, Contributor Guideline. Update Cargo package descriptions (#10652) 2019-06-25 08:15:13 +02:00
db Run cargo fix on a few of the worst offenders (#10854) 2019-07-09 09:04:20 +01:00
evm Change the return type of step_inner function. (#10940) 2019-08-05 14:58:48 +02:00
light Move more types out of ethcore (#10880) 2019-07-18 12:27:08 +02:00
node-filter update parking-lot to 0.8 (#10845) 2019-07-05 15:19:38 +02:00
pod get rid of hidden mutability of Spec (#10904) 2019-07-30 12:48:54 +02:00
private-tx Move more types out of ethcore (#10880) 2019-07-18 12:27:08 +02:00
res Add Constantinople eips to the dev (instant_seal) config (#10809) 2019-06-28 16:17:33 +02:00
service Move more types out of ethcore (#10880) 2019-07-18 12:27:08 +02:00
src refactor: Refactor evmbin CLI (#10742) 2019-08-07 16:51:08 +02:00
state-db Move more types out of ethcore (#10880) 2019-07-18 12:27:08 +02:00
sync Move more types out of ethcore (#10880) 2019-07-18 12:27:08 +02:00
trace Move more types out of ethcore (#10880) 2019-07-18 12:27:08 +02:00
trie-vm-factories Move more code into state-account (#10840) 2019-07-08 18:17:48 +02:00
types refactor: Refactor evmbin CLI (#10742) 2019-08-07 16:51:08 +02:00
vm Run cargo fix on a few of the worst offenders (#10854) 2019-07-09 09:04:20 +01:00
wasm Fix some warnings and typos. (#10941) 2019-08-06 11:07:07 +02:00
Cargo.toml Move more types out of ethcore (#10880) 2019-07-18 12:27:08 +02:00