Commit Graph

44 Commits

Author SHA1 Message Date
Felix Lange
cbd785cfe8 ethvm, tests/*: use log level constants 2014-10-17 17:23:28 +02:00
obscuren
93fcabd251 Fixed most of the tests 2014-10-16 18:27:05 +02:00
obscuren
86f789333a Moved state reset to defered function 2014-10-16 13:39:30 +02:00
obscuren
febec5ca4a Switch EXT* codes 2014-10-16 13:39:11 +02:00
obscuren
70f7a0be11 Use the state instead of the state object directly.
If a state gets reset and you still hold a pointer to the previous,
incorrect, state object you'll operate on the wrong object. Using the
state to set/get objects and attributes you won't have this problem
since the state will always have the correct object.
2014-10-16 13:38:21 +02:00
obscuren
311c6f8a3f Fixed remote Arithmetic tests 2014-10-15 17:12:26 +02:00
obscuren
3d177be73e Couple of minor issues fixed
* CALLVALUE pushed incorrect value to the stack
* Set execution model to closure
2014-10-15 00:40:41 +02:00
obscuren
7ca7938d8e Removed old installer script 2014-10-14 15:31:25 +02:00
obscuren
f55e39cf1a Tests for native function calling 2014-10-14 13:37:26 +02:00
obscuren
393a92811b Changed VM Test code 2014-10-14 12:21:46 +02:00
obscuren
c5bd32b0ad Refactored VM to two separate VMs; std & debug
Standard VM should be about 10x faster than the debug VM. Some error
checking has been removed, all of the log statements and therefor quite
some unnecessary if-statements.
2014-10-14 11:48:52 +02:00
obscuren
2e894b668a Max callstack 2014-10-11 00:41:37 +02:00
obscuren
a38dafcc57 Moved the To256 2014-10-08 16:11:36 +02:00
obscuren
9d86a49a73 Renamed Sha3Bin to Sha3 2014-10-08 12:06:39 +02:00
obscuren
f3196c915a Precompiled crypto contracts 2014-10-08 12:01:36 +02:00
obscuren
9b60cf267a Removed POST & moved CALLCODE 2014-10-08 12:01:14 +02:00
obscuren
82be305496 Fixed inconsistencies 2014-10-02 17:03:15 +02:00
obscuren
54558dd8ae Removed log 2014-09-24 19:54:51 +02:00
obscuren
80261c803a Fixed deref ptr 2014-09-19 13:19:19 +02:00
obscuren
f3a93b046e Upped protocol version for VM change 2014-09-18 01:02:15 +02:00
obscuren
d02024929a require 5 for post 2014-09-16 11:35:26 +02:00
obscuren
399256b384 VM execution fixes
Refactoring caused executing issues
2014-09-15 22:11:05 +02:00
obscuren
2f614900e8 Updated GHOST 2014-09-15 01:11:01 +02:00
obscuren
c0187930dc Removed some commented code 2014-09-10 11:39:11 +02:00
obscuren
2949990016 Added CALLSTATELESS 2014-09-10 00:19:20 +02:00
obscuren
a63b74e345 New OPCODES
* EXT- CODECOPY, CODESIZE
2014-09-08 00:49:25 +02:00
obscuren
3f904bf3ac Implemented POST 2014-08-25 11:29:42 +02:00
obscuren
d9d4f63cd4 Don't add ... 2014-08-22 17:57:33 +02:00
obscuren
d03ab3c976 invalidated SWAP/DUP 2014-08-21 20:25:02 +02:00
obscuren
854d6d4e5c DUP/SWAP n & ADD/MULMOD 2014-08-21 19:23:54 +02:00
obscuren
a289a77d5d DUP n SWAP n 2014-08-21 18:15:09 +02:00
obscuren
b0ae61c652 Removed the "Get" part 2014-08-18 10:17:45 +02:00
obscuren
7d95e8624a Added message to closure && added change addresses 2014-08-15 16:19:10 +02:00
obscuren
a760ce05b9 Updated chain for filtering 2014-08-11 16:23:38 +02:00
obscuren
c51db4c940 Fixed stack issue 2014-08-08 14:36:59 +01:00
obscuren
3fc24013ef Fixed issue with overflowing 256 bit integers 2014-08-08 12:04:18 +01:00
obscuren
3debeb7236 ethtrie.NewTrie => ethtrie.New 2014-08-04 10:38:18 +02:00
obscuren
1f9894c084 Old code removed and renamed amount to balance 2014-07-30 00:31:15 +02:00
obscuren
41bd38147c Clean up and util methods 2014-07-26 11:24:44 +02:00
obscuren
54f9ea14e1 Removed old S(DIV/MOD) 2014-07-25 09:57:47 +02:00
obscuren
3c3292d505 Added recoverable option 2014-07-24 12:12:00 +02:00
obscuren
958b482ada div 0 err 2014-07-23 12:36:47 +02:00
obscuren
490ca410c0 Minor improvements and fixes to the new vm structure 2014-07-22 15:57:54 +02:00
obscuren
1e8b54abfb Refactored state, state object and vm
* The State and StateObject have been moved to their own package
* The VM is moved to it's own package
2014-07-22 11:54:48 +02:00