Gav Wood
293d9f15d5
Tests for JSON serialisation of statediff/vmtrace ( #1241 )
...
* Splitting RPC Apis into more fine-grained sets
* Remove old code/comment.
* Add test for VMTrace ser.
* Add StateDiff ser test.
2016-06-08 12:40:55 -07:00
Robert Habermeier
13968aaa38
Refactor triedb constructors to error on invalid state root ( #1230 )
...
* add TrieError, refactor Trie DB creation
* remove Result type alias due to glob import conflicts
* fix fallout in state.rs
* add debug, display impl for TrieError
* fix fallout in account.rs
* ethcore::Error::TrieError variant
* fix remaining fallout in ethcore crate
* added From<TrieError> impl for Error, removed map_err calls
* fix test breakages
* fix doc tests
* update docs
[ci skip]
2016-06-07 11:44:09 -07:00
Gav Wood
4efd658577
Merge branch 'master' into txtracingforcall
2016-06-06 19:19:32 -07:00
Tomasz Drwięga
18ffd94674
Fixing warnings
2016-06-06 12:18:17 +02:00
Arkadiy Paronyan
98d9752097
Merge pull request #1219 from ethcore/clippy-bump
...
Clippy bump & fixing warnings
2016-06-06 11:46:59 +02:00
Marek Kotewicz
b93c83b8a0
Merge pull request #1216 from ethcore/serde-bump
...
Bumping serde & syntex
2016-06-06 11:32:13 +02:00
Marek Kotewicz
ba8c7bc959
Merge pull request #1217 from rphmeier/state_at_state_root
...
Verify the state root exists before creating a State
2016-06-06 11:29:39 +02:00
Tomasz Drwięga
a7de430193
Merge branch 'master' into clippy-bump
...
Conflicts:
dapps/Cargo.toml
2016-06-06 10:13:42 +02:00
Tomasz Drwięga
67b9e08ff0
Ignoring tests
2016-06-06 10:13:01 +02:00
Robert Habermeier
64b74eae43
fix travis build
2016-06-05 23:50:27 +02:00
Robert Habermeier
3dff5a9f3f
add early exit for pruned blocks
2016-06-05 22:14:40 +02:00
Robert Habermeier
e6921144dc
simplify conditional in state_at
2016-06-05 22:05:01 +02:00
Gav Wood
4675b7408f
Merge branch 'switchrpcns' into txtracingforcall
2016-06-05 21:35:58 +02:00
Marek Kotewicz
c8c47ebe32
Merge pull request #1206 from ethcore/diffing
...
Integrate state diffing into the ethcore JSONRPC
2016-06-05 21:35:36 +02:00
Gav Wood
d39b9506d2
Minor code refactor.
2016-06-05 18:24:17 +02:00
Gav Wood
4153052148
Fix fn call in miner.rs same as client.rs.
2016-06-05 17:23:27 +02:00
Robert Habermeier
aa465fa2cd
conditional style fix
2016-06-03 12:15:27 +02:00
Robert Habermeier
6f850ebdac
does_pruning -> is_pruned
2016-06-03 12:10:10 +02:00
Gav Wood
4dc9aedfb5
Merge branch 'master' into txtracingforcall
2016-06-03 12:06:39 +02:00
Tomasz Drwięga
3905717d5d
Fixing warnings
2016-06-03 11:36:30 +02:00
Tomasz Drwięga
ae2deaaf72
Bumping clippy version
2016-06-03 11:15:38 +02:00
Robert Habermeier
1e10445f82
exists -> contains
2016-06-02 21:23:43 +02:00
Robert Habermeier
6c6229c963
check if state root is valid for old blocks
2016-06-02 20:52:21 +02:00
Robert Habermeier
d7b79c1274
don't return a state in state_at if the db prunes and the block is before guaranteed history
2016-06-02 20:34:38 +02:00
Robert Habermeier
0318bb9fe9
Have Ext::ret take self by value ( #1187 )
...
* refactor externalities::ret to take self by-value, add GasLeft enum, and alter evm::Result.
* remove unused imports, StopExecutionWithGasLeft variant
* adjust tests
* remove extraneous call to reserve
* update json_tests Ext to match new trait
* adjust executive json_test
* have evms own their memory for their entire lifetime
* make finalize API more friendly
* indentation fix
[ci skip]
2016-06-02 19:04:15 +02:00
Gav Wood
a132fefcc7
Transaction tracing for eth_call.
2016-06-02 13:50:50 +02:00
Gav Wood
b17581d7de
VM tracing and JSON RPC endpoint for it. ( #1169 )
...
* Groundwork for basic VM tracing.
* RPC endpoint for VM tracing and ser/de types ready.
* Create VMTracer trait.
* Rearchitected VM tracing to reflect existing tracing.
Should more or less work now.
* Integrated VM tracing into JSONRPC.
* Fix ethcore module tests.
* Add tests for VM tracing.
* Fix consensus test code.
* Fix mock tests.
* Added VM trace information for post-execution stuff.
* Fix max-value calls and add "creates" field to getTransaction.
* Tests for VM tracing.
* Don't implement the trait with unimplemented.
* Remove invlaid comment.
* Fix tests.
2016-06-02 12:40:31 +02:00
Gav Wood
b9ec87548d
Minor renaming diff -> state_diff
2016-06-02 12:39:25 +02:00
Gav Wood
bc5c3da2af
Merge branch 'vmtracing' into diffing
2016-06-02 12:28:09 +02:00
Gav Wood
d40a038f37
Fix tests.
2016-06-02 11:49:27 +02:00
Gav Wood
26da38a439
Merge remote-tracking branch 'origin/master' into vmtracing
2016-06-02 11:40:39 +02:00
Gav Wood
5c63311268
Add missing types.
2016-06-01 20:02:23 +02:00
Nikolay Volf
1ef4db82e8
doctest fixes
2016-06-01 14:50:06 +02:00
Nikolay Volf
c00b84e10b
merge fixes
2016-06-01 12:54:47 +02:00
Nikolay Volf
0c782bf34b
Merge branch 'master' into client-refact
2016-06-01 12:45:04 +02:00
Nikolay Volf
db749dc564
fix remaining tests & doctest
2016-06-01 12:44:11 +02:00
Nikolay Volf
d45a676dc0
all tests fixed
2016-05-31 22:24:32 +02:00
Robert Habermeier
bbb858b386
address small syntax breakages
2016-05-31 21:38:05 +02:00
Nikolay Volf
2a08fb8fe3
and conditional dispatch
2016-05-31 21:17:46 +02:00
Gav Wood
34edecd59d
State diffing, exposed through JSONRPC.
2016-05-31 21:03:44 +02:00
Robert Habermeier
ec7af964ab
correct map macro invocation
2016-05-31 21:01:47 +02:00
Nikolay Volf
a845e08bc6
rename of the trait
2016-05-31 20:33:26 +02:00
Nikolay Volf
8e252d5f1b
refactored to merge client & client
2016-05-31 19:52:53 +02:00
Nikolay Volf
4f732972bc
refactoring to hold miner within the client
2016-05-31 19:01:37 +02:00
Robert Habermeier
da9d6bf8d5
rename [hash_]mapx to [hash_]map_into
2016-05-31 17:29:01 +02:00
Robert Habermeier
3abaeadcf3
finish purging x! from ethcore
2016-05-31 17:18:21 +02:00
Robert Habermeier
ff7c755930
mostly purge x! from ethcore
2016-05-31 16:59:01 +02:00
Nikolay Volf
0cd8644292
split interfaces
2016-05-31 16:41:15 +02:00
Gav Wood
f9a0cc47a0
Enable PoD sutff.
2016-05-31 12:59:00 +02:00
Gav Wood
649767b911
Merge remote-tracking branch 'origin/master' into vmtracing
2016-05-31 12:05:23 +02:00