Commit Graph

406 Commits

Author SHA1 Message Date
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
Gav Wood
08824e3ece Move macros to util. 2016-01-13 23:07:01 +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
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
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
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
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
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
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
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
Tomusdrw
0733214059 Some initial implementation of more complicated methods 2016-01-13 00:13:09 +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
08074ef397 Use U512s for ether cost calculation. 2016-01-12 17:40:34 +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
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