Commit Graph

38 Commits

Author SHA1 Message Date
Tomusdrw
aef38a9abc Fixing code compilation 2016-01-16 02:25:08 +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
9e7fea94bf Fixing memory allocation 2016-01-15 23:32:16 +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
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
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
66b0e4af35 Using overflowing operations 2016-01-15 01:48:53 +01:00
Tomusdrw
0234a320ca Fixing division and mod 2016-01-15 01:41:49 +01:00
Tomusdrw
4520f69ed7 Fixing CALL cost and PC instruction 2016-01-14 16:32:28 +01:00
Tomusdrw
0a5bec821f Fixing required memory calculation 2016-01-14 14:49:41 +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
1de64ec751 Fixing formatting 2016-01-14 01:56:37 +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
d06857737e Implementing CALLs 2016-01-14 00:39:59 +01:00
Tomusdrw
23cae6607a Fixing all tests. Changing memory to U256. Fixing tier_step_gas 2016-01-13 23:51:10 +01:00
Tomusdrw
263936145d Memory implemented 2016-01-13 22:30:41 +01:00
Tomusdrw
da5f65c0d3 Gas calculation 2016-01-13 17:11:00 +01:00
Tomusdrw
0a5666f2c0 Simple Gas calculation based on instruction gas price tier 2016-01-13 15:21:13 +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