Commit Graph

1116 Commits

Author SHA1 Message Date
Tomusdrw
7af4825b15 Implementing Signextend and fixing signed operations 2016-01-15 19:15:37 +01:00
Gav Wood
2eead090d5 Fix executive. Syncs to 62509. 2016-01-15 18:56:28 +01:00
arkpar
c224808416 Merge branch 'network' 2016-01-15 16:36:30 +01:00
arkpar
3ec294bda2 Missing files 2016-01-15 16:36:08 +01:00
Gav Wood
df2aabb712 Merge pull request #127 from gavofyork/transaction_tests_fixes
callcode builtins tests pass
2016-01-15 16:30:53 +01:00
Tomusdrw
b7e7518b8e More merging with master 2016-01-15 16:26:47 +01:00
Gav Wood
af65d539d1 Merge pull request #49 from gavofyork/network
Refactoring: General IO is now split from Networking IO
2016-01-15 16:25:21 +01:00
arkpar
2319fd4cec New list of bootnodes 2016-01-15 16:19:21 +01:00
Tomusdrw
5b3436dcad Merge branch 'master' into pow 2016-01-15 16:10:09 +01:00
Tomusdrw
39a7576ddb Merge branch 'master' into evm
Conflicts:
	src/executive.rs
	src/lib.rs
2016-01-15 16:08:06 +01:00
Tomusdrw
539fffaab9 Implementing missing instructions 2016-01-15 16:04:18 +01:00
arkpar
bda04702c7 Merge branch 'master' of github.com:gavofyork/ethcore into client 2016-01-15 15:55:46 +01:00
debris
5e59271508 Merge branch 'master' into transaction_tests_fixes 2016-01-15 15:14:41 +01:00
debris
ed0e243506 callcode builtins are working 2016-01-15 15:00:28 +01:00
Tomusdrw
2d2e4fc838 Changing to overflowing_pow 2016-01-15 14:48:07 +01:00
Tomusdrw
5e2721f964 Pow implementation 2016-01-15 14:45:30 +01:00
Gav Wood
34b516b8b0 Move flush back to common. 2016-01-15 14:42:16 +01:00
Tomusdrw
0ea9e13210 Detecting overflows in shl 2016-01-15 14:40:54 +01:00
Gav Wood
df151ab92c Make clear when the panic occurs to a missing trie root. 2016-01-15 14:40:51 +01:00
Gav Wood
d04e843e2d Revert accidental executive test changes. 2016-01-15 14:30:39 +01:00
Gav Wood
65d6904e63 Split externalities from executive. 2016-01-15 14:22:46 +01:00
arkpar
d80fe310a3 Merge branch 'master' of github.com:gavofyork/ethcore into client 2016-01-15 13:18:18 +01:00
Arkadiy Paronyan
123c991c2e Merge pull request #124 from gavofyork/transaction_tests_fixes
executive error on not enoguh base gas
2016-01-15 13:18:06 +01:00
Arkadiy Paronyan
ec4ea71335 Merge pull request #53 from gavofyork/gav
Add flush function.
2016-01-15 13:15:38 +01:00
Gav Wood
1136e65f0d Add flush function. 2016-01-15 13:11:30 +01:00
debris
99940aea98 Merge branch 'gav' of https://github.com/gavofyork/ethcore into transaction_tests_fixes 2016-01-15 13:10:30 +01:00
Gav Wood
0c39a83365 Fix executive for out of gas builtins. 2016-01-15 13:08:37 +01:00
debris
80f2bfd8a5 executive error on not enoguh base gas 2016-01-15 13:07:44 +01:00
Tomusdrw
b8a2a16e83 Fixing tests 2016-01-15 12:35:27 +01:00
arkpar
0b511a180a Bad block reporting 2016-01-15 12:26:04 +01:00
arkpar
223e946268 Merge branch 'master' of github.com:gavofyork/ethcore-util into network 2016-01-15 12:18:57 +01:00
debris
87539234e3 builin fail should return 0 gas left 2016-01-15 11:59:05 +01:00
Tomusdrw
162a1cd8a2 Power for uint 2016-01-15 11:57:51 +01:00
arkpar
e911e3d8a6 Merge branch 'master' of github.com:gavofyork/ethcore into client 2016-01-15 11:43:05 +01:00
debris
790a68a7ca Merge branch 'master' of https://github.com/gavofyork/ethcore into state_tests_fixes 2016-01-15 11:39:43 +01:00
debris
952efb93ac fixed builtin outofgas 2016-01-15 11:39:10 +01:00
Arkadiy Paronyan
241db922f1 Merge pull request #122 from gavofyork/gav
More state tests.
2016-01-15 11:26:39 +01:00
Arkadiy Paronyan
844ae0908d Merge pull request #51 from gavofyork/gav
Fix for assumption that empty trie root RLP can always be looked up.
2016-01-15 11:24:56 +01:00
Gav Wood
23fbe39408 Fix for assumption that empty trie root RLP can always be looked up. 2016-01-15 04:02:24 +01:00
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
debris
9a3944d890 Merge branch 'mul_fix' of https://github.com/gavofyork/ethcore-util 2016-01-15 02:32:59 +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
debris
838eea61f9 updated to rocksdb wrapper version 0.3 2016-01-15 01:57:14 +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
Tomusdrw
6252549bda Merge branch 'master' into mul_fix
Conflicts:
	src/uint.rs
2016-01-15 01:45:01 +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
Tomusdrw
9b78a89f96 Overflow semantics changed 2016-01-15 01:41:08 +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
arkpar
8dd4b3689a Removed unused import 2016-01-15 00:54:43 +01:00
debris
821b3b3b75 better substate reverting 2016-01-15 00:54:19 +01:00
arkpar
825f3733fd Removed debug output 2016-01-15 00:52:21 +01:00
arkpar
736a9f81a7 Merge branch 'master' of github.com:gavofyork/ethcore-util into network 2016-01-15 00:51:07 +01:00
arkpar
2d36062794 Slab bug workaround 2016-01-15 00:50:48 +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
Gav Wood
6a7c823862 Option types in JSON, more tests. 2016-01-14 23:39:59 +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
b781fe6753 from_existing works for an empty DB if passed empty RLP SHA3. 2016-01-14 23:13:28 +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
arkpar
3b557cdc07 Merge branch 'master' of github.com:gavofyork/ethcore-util into io 2016-01-14 22:38:00 +01:00
Gav Wood
d2cc3b9b5b Remove unnecessary unwraps in json_aid. 2016-01-14 22:16:41 +01:00
Tomusdrw
b1e986cbdd Fixing multiplication in uints 2016-01-14 22:02:10 +01:00
Gav Wood
5e6632ca47 Remove cruft 2016-01-14 21:58:55 +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
ccab2ea920 Missing files for previous commit. 2016-01-14 21:24:16 +01:00
Gav Wood
4f53db60ed New JSON conversion traits. 2016-01-14 21:24:03 +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
arkpar
df2e9854c7 Host info 2016-01-14 19:04:13 +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
arkpar
db25f7e590 Minor fixes 2016-01-14 16:56:59 +01:00
arkpar
d971abf1da Merge branch 'master' of github.com:gavofyork/ethcore-util into io 2016-01-14 16:52:18 +01:00
arkpar
a2f13e1efb Minor fixes 2016-01-14 16:52:10 +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
ca49c6b625 Merge branch 'master' of github.com:gavofyork/ethcore-util 2016-01-14 14:56:47 +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
Gav Wood
c1603b8286 Merge remote-tracking branch 'origin/master' into gav 2016-01-14 13:11:47 +01:00
Gav Wood
d63db8523c Fix test, revert fn hex() behaviour. 2016-01-14 13:10:18 +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
1c89b9732d Nicer display output for hash types. 2016-01-14 12:27:41 +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
arkpar
2ceffb425c Merge branch 'master' of github.com:gavofyork/ethcore-util into io 2016-01-14 02:18:32 +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
Gav Wood
787a119f12 Workaround. 2016-01-14 01:28:09 +01:00
Gav Wood
46810e961c Broken casting. 2016-01-14 01:27:02 +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
1dae68cd05 Merge branch 'master' of github.com:gavofyork/ethcore-util 2016-01-14 00:01:39 +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
Marek Kotewicz
8a789533d2 Merge pull request #44 from gavofyork/gav
Nice macros.
2016-01-13 23:23:13 +01:00
arkpar
e4ef044d44 Merge branch 'master' of github.com:gavofyork/ethcore-util into io 2016-01-13 23:20:12 +01:00
Gav Wood
5fd5c461b3 u256_from_ hex -> str. 2016-01-13 23:19:08 +01:00
arkpar
f72f7d05e9 Merge branch 'master' of github.com:gavofyork/ethcore-util into io 2016-01-13 23:14:59 +01:00
Gav Wood
12187b8af7 Merge remote-tracking branch 'origin/master' into gav 2016-01-13 23:14:36 +01:00
arkpar
4d2437906e Io channel 2016-01-13 23:13:57 +01:00
Gav Wood
08824e3ece Move macros to util. 2016-01-13 23:07:01 +01:00
Gav Wood
b23ec6ee69 Nice macros. 2016-01-13 23:06:44 +01:00
Gav Wood
78b10fd5f2 More nice syntax. 2016-01-13 22:45:46 +01:00
debris
5a072d1b4b vm ext call function uses u256 instead of u64, ext works entirely on u256 2016-01-13 22:36:59 +01:00
Gav Wood
a3f066a35c Refactor Diff datastructures. 2016-01-13 22:35:21 +01:00
Tomusdrw
263936145d Memory implemented 2016-01-13 22:30:41 +01:00
debris
6f17b7b44b vm ext create function uses u256 instead of u64 2016-01-13 22:29:49 +01:00
debris
48e74e5874 vm ext ret function used u256 instead of u64 2016-01-13 22:16:44 +01:00
debris
360e667a64 updated executive tests 2016-01-13 22:06:05 +01:00
debris
90645e30a6 update pr to use From::from 2016-01-13 22:05:10 +01:00
debris
dfc1be8a6e Merge branch 'master' of https://github.com/gavofyork/ethcore-util into json_aid_changes 2016-01-13 21:53:48 +01:00
debris
922dae31d5 Merge branch 'master' of https://github.com/gavofyork/ethcore into executive_tests 2016-01-13 21:53:38 +01:00
Gav Wood
3a1d829b1d Additional test. 2016-01-13 19:00:19 +01:00
Gav Wood
5cc5e7780c Tests and an additional From::from for hex string -> hash that defaults to 0s for bad strings. 2016-01-13 18:58:57 +01:00
Gav Wood
9fa9ef46db Merge branch 'master' into gav 2016-01-13 18:41:52 +01:00
Gav Wood
dd99ebd859 From::from(u64) for hashes. 2016-01-13 18:41:33 +01:00
Gav Wood
602d9d99b1 State conensus tests now print mismatching diff. 2016-01-13 18:40:18 +01:00
Gav Wood
311aa5c442 State diffing. 2016-01-13 18:37:09 +01:00
debris
cb16bdb350 cleanup 2016-01-13 17:45:06 +01:00
debris
6c44f29b06 json aid changes 2016-01-13 17:42:57 +01:00
debris
1f4d5fb860 check callcreates 2016-01-13 17:26:04 +01:00
Tomusdrw
da5f65c0d3 Gas calculation 2016-01-13 17:11:00 +01:00
debris
e94a575f6c fixed code, added nonce and storage executive tests 2016-01-13 16:30:19 +01:00
debris
d7adf95189 fixed suicide refund address 2016-01-13 16:16:21 +01:00
Gav Wood
5ba76d767e Account diffing. 2016-01-13 15:54:17 +01:00
debris
87eb66183c executive output uses BytesRef 2016-01-13 15:26:52 +01:00
Tomusdrw
0a5666f2c0 Simple Gas calculation based on instruction gas price tier 2016-01-13 15:21:13 +01:00
debris
df3e3edc8a bytes_ref 2016-01-13 15:14:24 +01:00
arkpar
76dc2d6074 Merge branch 'master' of github.com:gavofyork/ethcore-util into io 2016-01-13 15:09:56 +01:00
arkpar
a5bb7b7f92 Work around ICE 2016-01-13 15:08:36 +01:00
arkpar
28c482691a Fixed context lifetimes 2016-01-13 13:56:48 +01:00
debris
5f7a81a468 Merge branch 'master' of https://github.com/gavofyork/ethcore into executive_tests 2016-01-13 13:25:06 +01:00
debris
920d8c51db gas_left is correct in all tests 2016-01-13 13:16:53 +01:00
Tomusdrw
95d97fc75c Merge branch 'master' of github.com:gavofyork/ethcore-util 2016-01-13 12:24:19 +01:00
Tomusdrw
d5ed4a8ffd Fixed typos 2016-01-13 12:24:14 +01:00
Tomusdrw
d7176faddc Merge branch 'master' into evm 2016-01-13 12:20:07 +01:00
Tomusdrw
6577d742a8 Rewriting tests to support JIT and Interpreter 2016-01-13 12:18:54 +01:00
Gav Wood
4be539a965 Stirct ordering for hashes. 2016-01-13 12:16:10 +01:00
Gav Wood
28341fef9f Introduce ordered mapping for PodAccount and related structures. 2016-01-13 12:14:11 +01:00
Tomusdrw
4a26b6a40f Yay, Add test passing 2016-01-13 12:02:49 +01:00
arkpar
c98f73c5c9 Finished splitting IoService and NetworkService 2016-01-13 11:31:37 +01:00
Tomusdrw
5c79b1b84b Adding some more methods 2016-01-13 01:53:33 +01:00
debris
68a2c843ef executive tests 2016-01-13 01:23:01 +01:00
Gav Wood
9d2ac7fc37 State testing framework. First test is failing. 2016-01-13 01:19:05 +01:00
Gav Wood
6447f9b90b Additional helper function. 2016-01-13 01:18:33 +01:00
Tomusdrw
0733214059 Some initial implementation of more complicated methods 2016-01-13 00:13:09 +01:00
Gav Wood
635bf284b4 Fix RLP on consensus.
Add JSON helpers.
2016-01-12 23:44:30 +01:00
debris
09662ace50 executive transact tests 2016-01-12 19:43:26 +01:00
debris
7d4365c875 Merge branch 'master' of https://github.com/gavofyork/ethcore into executive_tests 2016-01-12 19:11:05 +01:00
debris
e3fa730dc7 executive tests in progress 2016-01-12 18:31:47 +01:00
Gav Wood
349223f6f9 Transaction API complete. 2016-01-12 18:10:10 +01:00
Gav Wood
6b1eb943e2 Add U512 type and a few conversions. 2016-01-12 17:40:55 +01:00
Gav Wood
08074ef397 Use U512s for ether cost calculation. 2016-01-12 17:40:34 +01:00
arkpar
982063e1ac Started IO service refactoring 2016-01-12 17:33:40 +01:00
Marek Kotewicz
2b184585e2 Merge pull request #93 from gavofyork/gav
Utils for consensus test decoding and better layout.
2016-01-12 16:35:10 +01:00
Gav Wood
f6d03cf92c Merge pull request #89 from gavofyork/evm_tests
executive fixes + tests
2016-01-12 16:34:36 +01:00
debris
a5e1db11ca match return => return match 2016-01-12 16:32:51 +01:00
Gav Wood
49a431d744 Utils for consensus test decoding and better layout. 2016-01-12 16:20:29 +01:00
Marek Kotewicz
3b8df91578 Merge pull request #92 from gavofyork/gav
All transaction tests pass. Nicer testing framework.
2016-01-12 16:08:18 +01:00
debris
36e250bcc9 executive returns addresses of contracts created during execution 2016-01-12 16:05:54 +01:00
Gav Wood
56ee6770b5 All transaction tests pass. Nicer testing framework. 2016-01-12 15:45:40 +01:00
debris
51610480b0 executive uses stack_limit from schedule 2016-01-12 15:12:03 +01:00
debris
1aa62691c6 executive checks schedule exceptional code deposit before returning OutOfGas 2016-01-12 14:56:19 +01:00
Gav Wood
283f62f048 Merge pull request #88 from gavofyork/verification
Block verification tests; BlockProvider blockchain trait for testing
2016-01-12 14:39:32 +01:00
debris
f7af71e272 fixed checking address existance in externalities call callback 2016-01-12 13:54:54 +01:00
debris
a2ae5d39fa Merge branch 'master' of https://github.com/gavofyork/ethcore into evm_tests 2016-01-12 13:46:31 +01:00
arkpar
7edfafd457 Some additional tests 2016-01-12 13:43:43 +01:00
debris
011a42fd6d added max_depth to executive, fixed bugs in externalities call, added "bomb" tests 2016-01-12 13:39:12 +01:00
arkpar
fdcf9e62ec Merge branch 'master' of github.com:gavofyork/ethcore into verification 2016-01-12 13:31:49 +01:00
arkpar
a9a5d71f2f Verification tests 2016-01-12 13:14:01 +01:00
Gav Wood
8e8825320c Merge branch 'master' into gav 2016-01-12 12:34:51 +01:00
Gav Wood
c6ec6e4aef State::exists, docs and tests. 2016-01-12 12:34:14 +01:00
Arkadiy Paronyan
915a6050cd Merge pull request #86 from gavofyork/gav
Add tests module, add two more transaction tests.
2016-01-12 12:26:36 +01:00
Gav Wood
25c069c62c Merge pull request #82 from gavofyork/evm_tests
bring back removed tests, removed build warnings
2016-01-12 12:24:50 +01:00
Gav Wood
7634d60a97 Add tests module, add two more transaction tests. 2016-01-12 12:22:18 +01:00
Gav Wood
df3db60ec0 Nicer transaction validation API. Nicer OutOfBounds API in general. 2016-01-12 11:44:16 +01:00
Gav Wood
8970ef572e Slightly cleaner test code. 2016-01-12 01:41:47 +01:00
Gav Wood
7bc21bbdd7 Merge remote-tracking branch 'origin/master' into gav 2016-01-12 01:32:12 +01:00
Gav Wood
5765fb1069 Transaction tests passing. 2016-01-12 01:30:30 +01:00
Gav Wood
e2de777c30 Fix panic in crypto, avoid incorrect casting in bytes. 2016-01-12 00:55:42 +01:00
Gav Wood
48fbf24e21 Avoid panicking on oversize u64. 2016-01-12 00:10:47 +01:00
Gav Wood
65ab524053 Avoid panic on invalid uint data. 2016-01-11 23:59:33 +01:00
debris
5b68c294af bring back removed tests, removed build warnings 2016-01-11 23:40:52 +01:00
Arkadiy Paronyan
7f2949bd52 Merge pull request #81 from gavofyork/evm_tests
fixed getting block info in evmjit + tests
2016-01-11 23:06:12 +01:00
debris
2519cbae34 fixed getting block info in evmjit + tests 2016-01-11 23:01:21 +01:00
Arkadiy Paronyan
5036735e2c Merge pull request #80 from gavofyork/evm_tests
evm tests cleanup
2016-01-11 22:41:57 +01:00
debris
8762bc12e3 test cleanup 2016-01-11 22:32:01 +01:00
Gav Wood
735202fac0 Minor API reduction. 2016-01-11 22:00:25 +01:00
Gav Wood
b9e2d7dabc Transaction test and a fix. 2016-01-11 21:57:22 +01:00
Gav Wood
7239acc451 Transaction address decoding. 2016-01-11 20:47:19 +01:00
Gav Wood
845ac87f88 Transaction includes signature. 2016-01-11 20:36:29 +01:00
Gav Wood
728883f45e Remove unneeded panic. 2016-01-11 19:40:02 +01:00
debris
d809ee53d6 hidden private fields of evm/executive 2016-01-11 19:25:37 +01:00
debris
e6d381bedd renamed VmFactory -> Factory 2016-01-11 19:01:42 +01:00
Gav Wood
1c48e34d69 Additional mem use. 2016-01-11 18:01:54 +01:00
Gav Wood
1d81b4f930 EVMJIT build fixes. 2016-01-11 17:49:49 +01:00
Gav Wood
c104009ef6 Additional standard.rs. 2016-01-11 17:38:28 +01:00
Gav Wood
0004ed8960 Integrate Executive into State. 2016-01-11 17:37:22 +01:00
Gav Wood
7650dead6d Bring in Executive. 2016-01-11 17:03:29 +01:00
Gav Wood
0cc57483f8 Move Executive down, remove unneeded Evm prefixes. 2016-01-11 17:01:42 +01:00
Gav Wood
b0cceddb7c Move evm::EvmParams -> ActionParams. 2016-01-11 16:33:08 +01:00
Gav Wood
85ac9af832 Move EvmSchedule -> evm::Schedule 2016-01-11 16:28:30 +01:00
debris
f19a6e54bf removed warnings 2016-01-11 16:05:21 +01:00
debris
3f725ce89d reverting the execution state when out of gas 2016-01-11 15:55:54 +01:00
debris
65bce7862a Merge branch 'master' into evm 2016-01-11 15:23:27 +01:00
arkpar
c6509d7752 Moved some checks from ethash to verification module 2016-01-11 15:22:11 +01:00
debris
12f01d9905 state clone 2016-01-11 14:48:27 +01:00
debris
f611b6c7b6 state clone 2016-01-11 14:47:50 +01:00
Arkadiy Paronyan
4353518be1 Merge pull request #72 from gavofyork/verification
Block Verification (no tests yet)
2016-01-11 14:43:25 +01:00
debris
22859a04b6 changes in executive return 2016-01-11 14:14:35 +01:00
debris
bbb25fb6ce propagate evmjit errors upstream 2016-01-11 14:08:03 +01:00
Gav Wood
eb03993c6d Transaction struct improvements. 2016-01-11 13:52:40 +01:00
arkpar
3185301c97 Updated docs 2016-01-11 13:51:58 +01:00
arkpar
0221d47544 Verification integrated into client/queue 2016-01-11 13:42:32 +01:00
Gav Wood
30f74fc692 log_entry type. 2016-01-11 13:29:15 +01:00
arkpar
4dca2ff1d9 Merge branch 'master' of github.com:gavofyork/ethcore into verification 2016-01-11 12:57:36 +01:00
Arkadiy Paronyan
42144247f5 Merge pull request #64 from gavofyork/ethash
Use getter in header in preparation for a Header trait; additional testing in enact_block().
2016-01-11 12:55:08 +01:00
arkpar
2b522e2c48 Merge branch 'network' into verification 2016-01-11 12:45:35 +01:00
arkpar
3a2663ce93 Client now takes Spec instead of Engine 2016-01-11 12:28:59 +01:00
arkpar
c269cb5c85 Added sync to std uses 2016-01-11 11:52:18 +01:00
arkpar
33d3a4d633 Engine and Spec are now thread safe 2016-01-11 11:51:31 +01:00
debris
dea9ec203b removed unused stuff 2016-01-11 03:29:13 +01:00
debris
d1aadf456f shorter constructor for externalities 2016-01-11 03:26:17 +01:00
debris
88409e7dbb refactor in progress... evmjit compiling 2016-01-11 03:13:41 +01:00
debris
6d3097ac9e updated output policy docs 2016-01-11 02:47:45 +01:00
debris
7f8f0c5823 minor fixes 2016-01-11 02:42:02 +01:00
debris
b273792ef0 big refactor of executive in progress 2016-01-11 02:17:29 +01:00
arkpar
5d0e186632 Merge branch 'master' of github.com:gavofyork/ethcore into network 2016-01-11 01:07:58 +01:00