Commit Graph

164 Commits

Author SHA1 Message Date
Tomusdrw
b7e7518b8e More merging with master 2016-01-15 16:26:47 +01:00
Tomusdrw
539fffaab9 Implementing missing instructions 2016-01-15 16:04:18 +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
Tomusdrw
c4e5271651 Initial implementation of couple of more instructions 2016-01-15 03:12:39 +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
Tomusdrw
66b0e4af35 Using overflowing operations 2016-01-15 01:48:53 +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
debris
4ca353b021 common changes, added json state tests 2016-01-14 22:41:39 +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
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
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
0a5bec821f Fixing required memory calculation 2016-01-14 14:49:41 +01:00
Tomusdrw
81720d6617 Parametrizing evm::Factory 2016-01-14 13:36:45 +01:00
Tomusdrw
eebcd0f35b Fixing memory cost calculation 2016-01-14 12:34:32 +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
Tomusdrw
e9cc821969 More formatting 2016-01-14 02:26:20 +01:00
Tomusdrw
de802b7b6e Call should push 1 to stack after completed 2016-01-14 02:18:36 +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
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
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
debris
5a072d1b4b vm ext call function uses u256 instead of u64, ext works entirely on u256 2016-01-13 22:36:59 +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
1f4d5fb860 check callcreates 2016-01-13 17:26:04 +01:00
Tomusdrw
da5f65c0d3 Gas calculation 2016-01-13 17:11:00 +01:00
debris
d7adf95189 fixed suicide refund address 2016-01-13 16:16:21 +01:00
Tomusdrw
0a5666f2c0 Simple Gas calculation based on instruction gas price tier 2016-01-13 15:21:13 +01:00
debris
920d8c51db gas_left is correct in all tests 2016-01-13 13:16:53 +01:00
Tomusdrw
6577d742a8 Rewriting tests to support JIT and Interpreter 2016-01-13 12:18:54 +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
Tomusdrw
0733214059 Some initial implementation of more complicated methods 2016-01-13 00:13:09 +01:00
debris
5b68c294af bring back removed tests, removed build warnings 2016-01-11 23:40:52 +01:00
debris
2519cbae34 fixed getting block info in evmjit + tests 2016-01-11 23:01:21 +01:00
debris
8762bc12e3 test cleanup 2016-01-11 22:32:01 +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
1d81b4f930 EVMJIT build fixes. 2016-01-11 17:49:49 +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
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
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
debris
b72da41ea7 proper calculatng of executive gas in progress 2016-01-10 16:21:01 +01:00
debris
9f06c2f2e6 errors, fees, and refunds 2016-01-10 12:29:35 +01:00
debris
efa6c424c1 fixed jit tests 2016-01-09 23:24:01 +01:00
debris
3e90859d9d executive call 2016-01-09 22:54:16 +01:00
debris
f7e9816d33 substate in progress 2016-01-09 21:39:38 +01:00
debris
9cc88e2cb1 Merge branch 'master' of https://github.com/gavofyork/ethcore into evm 2016-01-09 18:41:12 +01:00
debris
300a9506ed evmjit output data 2016-01-09 18:25:18 +01:00
debris
130b2fc46a separated executive and externalities 2016-01-09 17:55:47 +01:00
debris
50af19a7c8 contract creating contract 2016-01-09 13:51:59 +01:00
debris
5ae0f71922 executive create fixes 2016-01-09 02:12:17 +01:00
debris
bcd026aaf1 Merge branch 'master' of https://github.com/gavofyork/ethcore into evm 2016-01-09 01:41:10 +01:00
debris
68beb0099d executive tests in progress 2016-01-09 01:33:50 +01:00
debris
43c612fa89 moved runtime data to jit 2016-01-09 00:55:17 +01:00
debris
4932720d58 evm params 2016-01-09 00:51:09 +01:00
debris
bed4bfce1c executive in progress... 2016-01-08 12:50:06 +01:00
debris
d0180df167 little improvements in evm ext 2016-01-08 00:16:15 +01:00
debris
8335d40102 contract_address && ExtFace 2016-01-07 23:33:54 +01:00
debris
d27a16c945 executive in progress 2016-01-07 21:29:36 +01:00
debris
ec720aefa9 env -> ext 2016-01-07 19:20:23 +01:00
debris
146999cfbf executive init 2016-01-07 19:05:44 +01:00
debris
8c6d6950ca evm call and create in progress 2016-01-06 20:00:32 +01:00
debris
a0bb1068af evm env uses EnvInfo. blockhash function implementation 2016-01-06 17:53:59 +01:00