Commit Graph

470 Commits

Author SHA1 Message Date
Gav Wood
b6139d2064 Remove debug stuff. 2016-01-15 04:02:06 +01:00
Tomusdrw
c4e5271651 Initial implementation of couple of more instructions 2016-01-15 03:12:39 +01:00
arkpar
76223d3d13 Receipt logging 2016-01-15 02:52:37 +01:00
Tomusdrw
5d0c294635 Fixes after merge 2016-01-15 02:16:04 +01:00
Tomusdrw
7010e870a4 Merge branch 'master' into evm
Conflicts:
	src/executive.rs
	src/tests/state.rs
2016-01-15 02:05:32 +01:00
arkpar
5ce3275f04 Merge branch 'master' of github.com:gavofyork/ethcore into client 2016-01-15 01:54:48 +01:00
Gav Wood
7c5c2bd9b8 Ethash populate_from_parent implementation. 2016-01-15 01:53:52 +01:00
Tomusdrw
66b0e4af35 Using overflowing operations 2016-01-15 01:48:53 +01:00
arkpar
dcfafdd101 Removed log format string 2016-01-15 01:44:57 +01:00
Gav Wood
02e2b75407 Fix state test. 2016-01-15 01:44:23 +01:00
Tomusdrw
e8b9ef202c Merge branch 'evm' of github.com:gavofyork/ethcore into evm 2016-01-15 01:42:09 +01:00
Tomusdrw
0234a320ca Fixing division and mod 2016-01-15 01:41:49 +01:00
Gav Wood
0aa604343e Merge pull request #120 from gavofyork/excepted
out_of_gas -> excepted
2016-01-15 01:28:52 +01:00
debris
b754313ad8 out_of_gas -> excepted 2016-01-15 01:20:08 +01:00
arkpar
f6dff48312 Documentation 2016-01-15 01:17:39 +01:00
arkpar
e5a51707ec Fixed empty name handling 2016-01-15 01:17:39 +01:00
arkpar
77c5b315df Spec name; uncle reward calculation fixed 2016-01-15 01:17:23 +01:00
arkpar
00868488cf Post enactment block verification 2016-01-15 01:17:21 +01:00
arkpar
8f631a7c60 State db sync 2016-01-15 01:16:17 +01:00
arkpar
d3a16574d6 Client service 2016-01-15 01:16:17 +01:00
arkpar
e297e598ce Client service 2016-01-15 01:16:17 +01:00
arkpar
0de2a031d1 New network IO API 2016-01-15 01:16:17 +01:00
Gav Wood
50424506e4 Merge remote-tracking branch 'origin/master' into gav 2016-01-15 01:02:37 +01:00
Gav Wood
d2e53f95e0 More State tests! 2016-01-15 01:02:14 +01:00
Gav Wood
fc25330804 Merge pull request #118 from gavofyork/state_logs
stLogs tests passing
2016-01-15 01:02:00 +01:00
debris
7f8adadd6b revert_if_needed -> enact_result 2016-01-15 01:00:32 +01:00
debris
821b3b3b75 better substate reverting 2016-01-15 00:54:19 +01:00
debris
a97a4a9bc4 state logs tests passing 2016-01-15 00:40:29 +01:00
Gav Wood
a17354f2a2 Trace cleanup. 2016-01-15 00:40:20 +01:00
Gav Wood
efdad2ef8e Fix executive. 2016-01-15 00:36:58 +01:00
Gav Wood
08b58da107 Fixes for marek's shooting from the hip. 2016-01-15 00:09:56 +01:00
debris
7ace87e50f fixes for review issues 2016-01-15 00:04:40 +01:00
debris
daccbed9a1 removed redundant code 2016-01-14 23:52:26 +01:00
debris
1b8b1b4c17 Merge branch 'master' of https://github.com/gavofyork/ethcore into executive_revert_fix 2016-01-14 23:50:41 +01:00
debris
ceea85a038 common fixes.. 2016-01-14 23:41:51 +01:00
Gav Wood
d64ff8df57 Minor renaming, fix for Account::code_cache. 2016-01-14 23:41:48 +01:00
debris
a6191262c9 tests are passing 2016-01-14 23:36:35 +01:00
debris
cb0ad01e42 test_engine should limit max_depth, not stack_limit 2016-01-14 23:24:12 +01:00
debris
ff373f5fb8 Merge branch 'master' of https://github.com/gavofyork/ethcore into executive_revert_fix 2016-01-14 23:18:45 +01:00
Gav Wood
ea9d333312 Fix account and add butress test. 2016-01-14 23:13:05 +01:00
debris
f06d313ddb fixed env_info lasthashes generation 2016-01-14 23:02:59 +01:00
Gav Wood
6f5d383834 Storage should kill zero entries. 2016-01-14 22:45:50 +01:00
debris
4ca353b021 common changes, added json state tests 2016-01-14 22:41:39 +01:00
Gav Wood
478cebf42f Cleanup old code. 2016-01-14 22:41:39 +01:00
Gav Wood
6eea05d255 Change over to new FromJson API. 2016-01-14 21:58:37 +01:00
debris
98ae8ce36a cleanup... 2016-01-14 21:47:52 +01:00
Gav Wood
d3091b95c3 Use new json trait for conversion of some types. 2016-01-14 21:23:46 +01:00
debris
9cbf2427c0 call result 2016-01-14 21:21:46 +01:00
debris
6fb580f621 ext call refactored 2016-01-14 19:52:40 +01:00
Tomusdrw
4c1b8ddd8f Running parametrized JSON tests 2016-01-14 18:29:18 +01:00
debris
777ac4dc87 compiler was not wrong 2016-01-14 18:15:04 +01:00
debris
a6ea012f88 -1i64.. 2016-01-14 18:05:19 +01:00
Tomusdrw
d3a71d3058 Fixing evm_test macro export 2016-01-14 17:42:17 +01:00
debris
d59e074d65 executive create 2016-01-14 17:40:38 +01:00
Tomusdrw
abb4f08eff Moving EVM Factory to Engine 2016-01-14 17:25:14 +01:00
Gav Wood
c6a1d1a286 Merge remote-tracking branch 'origin/master' into gav 2016-01-14 16:47:21 +01:00
Gav Wood
c4d2df4872 Refactored Pod & Diff types into separate files. 2016-01-14 16:46:32 +01:00
Tomusdrw
9039ed40a9 Changing transact_simple test 2016-01-14 16:40:50 +01:00
Tomusdrw
3825e7043d Merge branch 'evm' into evm_factory_parametrized 2016-01-14 16:32:55 +01:00
Tomusdrw
4520f69ed7 Fixing CALL cost and PC instruction 2016-01-14 16:32:28 +01:00
Tomusdrw
48d3acfdea Parametrized executive tests 2016-01-14 16:17:44 +01:00
Tomusdrw
f96e598f20 Merge branch 'evm' into evm_factory_parametrized
Conflicts:
	src/executive.rs
2016-01-14 15:01:58 +01:00
Tomusdrw
6ab0ec1097 Merge branch 'master' into evm 2016-01-14 14:55:20 +01:00
Tomusdrw
0a5bec821f Fixing required memory calculation 2016-01-14 14:49:41 +01:00
debris
05246c4f7d fixing executive finalize in progress 2016-01-14 14:36:07 +01:00
Marek Kotewicz
899c17ff74 Merge pull request #112 from gavofyork/gav
Fix storage stuff and introduce per-item dirty-tracking.
2016-01-14 14:00:47 +01:00
Gav Wood
1b1038fe06 Fix storage stuff and introduce per-item dirty-tracking. 2016-01-14 13:54:29 +01:00
Tomusdrw
81720d6617 Parametrizing evm::Factory 2016-01-14 13:36:45 +01:00
Marek Kotewicz
8511d08a19 Merge pull request #109 from gavofyork/gav
Check logs in state tests.
2016-01-14 12:57:29 +01:00
Gav Wood
5a9ac6a329 State diff output tweaks. 2016-01-14 12:39:14 +01:00
Tomusdrw
eebcd0f35b Fixing memory cost calculation 2016-01-14 12:34:32 +01:00
Gav Wood
507678aaa9 Check logs in state tests. 2016-01-14 12:27:35 +01:00
debris
3118baee9b executive gas calculation fixes 2016-01-14 12:10:26 +01:00
Tomusdrw
f1ef2792e8 Fromatting of Evm::exec 2016-01-14 11:00:29 +01:00
Tomusdrw
ebd7081d59 Return BadInstruction instead of panic 2016-01-14 02:45:16 +01:00
Tomusdrw
4d41c3352e Adding instruction name to BadInstruction 2016-01-14 02:36:48 +01:00
Gav Wood
76f617abac Merge pull request #107 from gavofyork/tx_gas
proper gas calculation in executive
2016-01-14 02:31:04 +01:00
Gav Wood
4b6d853593 Merge pull request #105 from gavofyork/executive_max_depth
Fixing MaxDepth param for executive
2016-01-14 02:30:30 +01:00
Tomusdrw
e9cc821969 More formatting 2016-01-14 02:26:20 +01:00
debris
bacc9a2494 proper gas calculation in executive 2016-01-14 02:20:46 +01:00
Tomusdrw
de802b7b6e Call should push 1 to stack after completed 2016-01-14 02:18:36 +01:00
Gav Wood
59e2df3e40 Fix Determination of state roots. 2016-01-14 02:09:43 +01:00
Tomusdrw
0dc1055af2 Merge branch 'executive_max_depth' into evm 2016-01-14 01:59:11 +01:00
Tomusdrw
1de64ec751 Fixing formatting 2016-01-14 01:56:37 +01:00
Tomusdrw
9900158c8e MaxDepth param 2016-01-14 01:40:55 +01:00
Tomusdrw
7e5de5f5c7 More descriptive interpreter errors 2016-01-14 01:31:45 +01:00
Gav Wood
035b29c481 Merge branch 'master' into gav 2016-01-14 01:30:28 +01:00
Gav Wood
37a3c8d259 Prettier diffing. 2016-01-14 01:29:05 +01:00
debris
53868efb4d transact substracts tx_gas 2016-01-14 01:18:44 +01:00
Tomusdrw
dedf340381 Optimize couple of access methods 2016-01-14 01:05:01 +01:00
Tomusdrw
f38c99b285 Removing unecessary casts 2016-01-14 00:46:24 +01:00
Tomusdrw
c357631bbb Fixing dup_position test 2016-01-14 00:43:54 +01:00
Tomusdrw
d06857737e Implementing CALLs 2016-01-14 00:39:59 +01:00
Gav Wood
40341e8852 Pretty-print and fix for state. 2016-01-14 00:27:36 +01:00
Tomusdrw
b3bf8b4034 Merge branch 'master' into evm
Conflicts:
	src/evm/schedule.rs
2016-01-13 23:59:20 +01:00
Tomusdrw
68723201a7 Formatting 2016-01-13 23:58:25 +01:00
Tomusdrw
2f8f0ac4cf Merge branch 'master' into evm
Conflicts:
	src/evm/schedule.rs
2016-01-13 23:53:04 +01:00
Gav Wood
f835990091 Tier step price. 2016-01-13 23:53:00 +01:00
Tomusdrw
23cae6607a Fixing all tests. Changing memory to U256. Fixing tier_step_gas 2016-01-13 23:51:10 +01:00
Gav Wood
12187b8af7 Merge remote-tracking branch 'origin/master' into gav 2016-01-13 23:14:36 +01:00