Commit Graph

272 Commits

Author SHA1 Message Date
obscuren
614624754d Let the state create the object 2014-06-23 13:42:30 +02:00
obscuren
d890258af6 Minor fixes to vm output 2014-06-23 11:26:51 +02:00
obscuren
803e4807ed Removed comments 2014-06-23 11:26:31 +02:00
obscuren
842d52db7b Make sure that public key always uses 64 bytes 2014-06-23 11:23:51 +02:00
obscuren
bb1641e4ec Clean up & refactored methods 2014-06-23 11:23:18 +02:00
obscuren
931ae0f116 Append zero's in R & S 2014-06-20 20:12:08 +02:00
obscuren
7fb5e993e3 Moved 0 check to state object for now 2014-06-20 20:11:40 +02:00
obscuren
0c6b41f4c9 CALLDATACOPY 2014-06-20 01:10:20 +02:00
obscuren
09f37bd023 Returned to single method 2014-06-20 00:45:44 +02:00
obscuren
8f29f6a4d4 Removed some logging 2014-06-20 00:42:26 +02:00
obscuren
6fcc6a2f7c Changed copy/set 2014-06-20 00:41:42 +02:00
obscuren
0b8ba1d55b Renamed snapshot to copy/set and added it back to the VM 2014-06-20 00:41:28 +02:00
obscuren
933aa63b7d Length check on get 2014-06-19 21:41:37 +02:00
obscuren
80ffe1610c Removed log 2014-06-19 13:45:46 +02:00
obscuren
9104dcc29c Fixed call 2014-06-19 13:45:29 +02:00
obscuren
7e6684d926 Method for checking contract addresses 2014-06-19 13:42:47 +02:00
obscuren
1b431f29e5 Added missing types 2014-06-19 13:42:28 +02:00
obscuren
5ea7598408 Update after each transition instead of at the end.
Updating the state /after/ the entire transition creates invalid
receipts.
2014-06-19 13:42:14 +02:00
obscuren
731f55a05d Reset state when a transition fails 2014-06-19 13:41:17 +02:00
obscuren
f911087eab Logging 2014-06-18 13:48:42 +02:00
obscuren
3bc57fe5b5 CALLDATALOAD return 32 byte at all times 2014-06-18 13:48:08 +02:00
obscuren
dc9c9369e0 log 2014-06-18 00:36:23 +02:00
obscuren
2565a79575 Swapped vars 2014-06-18 00:32:48 +02:00
obscuren
8a885c2606 Fixed GT and LT 2014-06-18 00:25:58 +02:00
obscuren
ca79360fd7 Verbose logging for VM 2014-06-17 18:49:26 +02:00
obscuren
34c8045d5b Fixed issue where JUMPI would do an equally check with 1 instead of GT 2014-06-17 18:05:46 +02:00
obscuren
3621988e15 Removed deprecated states 2014-06-17 11:07:37 +02:00
obscuren
53e30f750d Removal of manual updating of state objects
* You'll only ever need to update the state by calling Update. Update
  will take care of the updating of it's child state objects.
2014-06-17 11:06:06 +02:00
obscuren
887debb055 comment 2014-06-16 18:20:38 +02:00
obscuren
0d77632839 Refund gas 2014-06-16 12:25:18 +02:00
obscuren
8b15732c1e Check for nil receiver 2014-06-16 12:04:56 +02:00
obscuren
48bca30e61 Fixed minor issue with the gas pool 2014-06-16 11:51:16 +02:00
obscuren
9f62d441a7 Moved gas limit err check to buy gas 2014-06-16 11:14:01 +02:00
obscuren
7b55bcf484 Removed old fees 2014-06-16 11:13:19 +02:00
obscuren
15d1f753f7 Removed old fees 2014-06-16 11:13:06 +02:00
obscuren
1d76e433f7 Removed some comments 2014-06-16 10:40:21 +02:00
obscuren
02d8ad030f Keeping old code for reference 2014-06-16 10:35:35 +02:00
obscuren
8198fd7913 Cache whole objects instead of states only 2014-06-16 00:51:04 +02:00
obscuren
d80f999a21 Run contracts 2014-06-15 00:11:06 +02:00
obscuren
5871dbaf5a Set contract addr for new transactions 2014-06-15 00:10:42 +02:00
obscuren
63883bf27d Moving closer to interop 2014-06-14 11:46:09 +02:00
obscuren
8124547348 Moving a head closer to interop 2014-06-13 16:06:27 +02:00
obscuren
c734dde982 comments & refactor 2014-06-13 13:06:27 +02:00
obscuren
cebf4e3697 Refactored state transitioning to its own model 2014-06-13 12:58:01 +02:00
obscuren
5e2bf12a31 Refactored state transitioning to its own model 2014-06-13 12:57:52 +02:00
obscuren
d078e9b8c9 Refactoring state transitioning 2014-06-13 12:45:11 +02:00
obscuren
b855e5f7df Changed opcode numbers and added missing opcodes 2014-06-12 11:19:32 +02:00
obscuren
6593c69424 Merge branch 'develop' into interop 2014-06-12 10:07:40 +02:00
obscuren
3a9d7d318a log changes 2014-06-12 10:07:27 +02:00
obscuren
8a2e50ab2a Merge branch 'develop' into interop
Conflicts:
	peer.go
2014-06-11 21:56:59 +02:00