Commit Graph

156 Commits

Author SHA1 Message Date
Gav Wood
387e3ec3fd Ensure Spec::ensure_db_good() places DB entries for code & storage. 2016-01-26 15:00:22 +01:00
Nikolay Volf
8d30f9fecb bad block import checks 2016-01-26 17:55:08 +04:00
Nikolay Volf
81bffd48e8 basic client tests working 2016-01-26 17:33:22 +04:00
Gav Wood
0adb3bf757 Merge pull request #217 from ethcore/stack
Spawning new thread when we are reaching stack limit
2016-01-26 12:06:37 +01:00
Nikolay Volf
46e0a81c52 more of testing 2016-01-26 14:55:12 +04:00
Nikolay Volf
1490412a34 merge master 2016-01-26 14:43:11 +04:00
Nikolay Volf
800154a8ae client test creating 2016-01-26 14:39:49 +04:00
Tomusdrw
c66aa52166 Spawning new thread when we are reaching stack limit 2016-01-26 10:15:55 +01:00
Gav Wood
7065c477a4 Closes #70 2016-01-26 00:48:01 +01:00
Gav Wood
2dcfb52b56 Closes #213 2016-01-26 00:46:24 +01:00
Gav Wood
2fa1431e86 Merge branch 'master' into blockchaintests 2016-01-26 00:35:21 +01:00
Gav Wood
3fe0c3c789 Unignore passingn tests. 2016-01-26 00:26:36 +01:00
Tomusdrw
16f2fa33ee Merging CALL & DELEGATECALL branches 2016-01-25 23:59:50 +01:00
Gav Wood
e479e8ca97 Tody ups. 2016-01-25 23:37:49 +01:00
Gav Wood
60af30558c Cleanups. 2016-01-25 23:26:42 +01:00
Gav Wood
41508cbd50 Fix queue flush and add working tests. 2016-01-25 23:24:51 +01:00
Gav Wood
499da19d82 Initial draft of blockchain tests. 2016-01-25 18:56:36 +01:00
Tomusdrw
e27d628e75 Changing delegatecall logic 2016-01-23 10:41:13 +01:00
Tomusdrw
fbb57b1c1b Merge branch 'master' into delegatecall 2016-01-23 10:37:42 +01:00
debris
c172ea0bea Merge branch 'heavy_tests' of github.com:ethcore/parity 2016-01-22 15:12:18 +01:00
Marek Kotewicz
9e32298356 Merge pull request #197 from ethcore/fixing_vmBlockInfoTest
Populating last_hashes
2016-01-22 11:57:08 +01:00
Tomusdrw
b00e4b9d95 Marking more tests as 'heavy' 2016-01-22 08:07:53 +01:00
Tomusdrw
bb4e31b224 Marking test as heavy / ignored 2016-01-22 08:04:52 +01:00
Tomusdrw
b07cbcd8cd Changing some tests from ignore to heavy 2016-01-21 19:32:48 +01:00
Tomusdrw
124cfcc11e Possibility to declare "heavy tests" 2016-01-21 16:08:09 +01:00
Tomusdrw
9048a608da Populating last_hashes 2016-01-20 17:57:53 +01:00
Tomusdrw
651d2d66e0 Fixing tests 2016-01-20 17:31:37 +01:00
Tomusdrw
8084e1b6d7 Removing value from delegatecall function 2016-01-20 17:01:58 +01:00
Tomusdrw
aa0760597b Fixing delegatecall 2016-01-20 16:52:22 +01:00
Tomusdrw
c746f0e62c Fixing all clippy lints 2016-01-19 13:47:30 +01:00
Tomusdrw
56c059588d Changing state tests to support transition 2016-01-16 21:08:04 +01:00
Tomusdrw
3979b787f7 merged with mk 2016-01-16 20:58:23 +01:00
Tomusdrw
79c1cc02f7 Vec<u8> -> Bytes and clearing log API 2016-01-16 17:17:43 +01:00
Tomusdrw
09c46be74d Cleaning evm 2016-01-16 17:08:57 +01:00
Tomusdrw
012474b237 Fixing SSTORE gas calculation 2016-01-16 13:59:48 +01:00
debris
fa1f0d1cf4 executive tests fixed
Conflicts:
	src/executive.rs
2016-01-16 11:43:45 +01:00
Tomusdrw
a1a4c5a068 Merge branch 'master' into evm
Conflicts:
	src/evm/tests.rs
	src/executive.rs
2016-01-16 11:33:41 +01:00
Tomusdrw
24777cc569 Fixing memory calculations overflows 2016-01-16 01:24:37 +01:00
Tomusdrw
e0f3f7adcc Fixing memory slices when trying to get memory with size=0 2016-01-16 00:31:04 +01:00
Tomusdrw
f49afe1b6a Fixing memory read-write 2016-01-15 22:46:29 +01:00
Tomusdrw
24e86d4479 Fixing possible gas-memory calculation overflows 2016-01-15 21:46:08 +01:00
Tomusdrw
7bb963f866 Fixing CALLDATALOAD for big indexes 2016-01-15 20:19:46 +01:00
Tomusdrw
51f828ac37 Fixing CALLDATALOAD 2016-01-15 20:14:16 +01:00
Tomusdrw
46ecb16191 Fixing BYTE instruction 2016-01-15 19:48:51 +01:00
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
Tomusdrw
b7e7518b8e More merging with master 2016-01-15 16:26:47 +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
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
Gav Wood
0c39a83365 Fix executive for out of gas builtins. 2016-01-15 13:08:37 +01:00
Gav Wood
b6139d2064 Remove debug stuff. 2016-01-15 04:02:06 +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
Gav Wood
02e2b75407 Fix state test. 2016-01-15 01:44:23 +01:00
Gav Wood
d2e53f95e0 More State tests! 2016-01-15 01:02:14 +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
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
debris
4ca353b021 common changes, added json state tests 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
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
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
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
debris
05246c4f7d fixing executive finalize in progress 2016-01-14 14:36:07 +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
Gav Wood
59e2df3e40 Fix Determination of state roots. 2016-01-14 02:09:43 +01:00
debris
53868efb4d transact substracts tx_gas 2016-01-14 01:18:44 +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
Gav Wood
f835990091 Tier step price. 2016-01-13 23:53:00 +01:00
Gav Wood
12187b8af7 Merge remote-tracking branch 'origin/master' into gav 2016-01-13 23:14:36 +01:00
Gav Wood
08824e3ece Move macros to util. 2016-01-13 23:07:01 +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
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
922dae31d5 Merge branch 'master' of https://github.com/gavofyork/ethcore into executive_tests 2016-01-13 21:53:38 +01:00
Gav Wood
602d9d99b1 State conensus tests now print mismatching diff. 2016-01-13 18:40:18 +01:00
debris
cb16bdb350 cleanup 2016-01-13 17:45:06 +01:00
debris
1f4d5fb860 check callcreates 2016-01-13 17:26:04 +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