Commit Graph

120 Commits

Author SHA1 Message Date
Felix Lange
394e0f60c2 chain, tests/helper, vm: make tests compile
They were broken by df5603de0a, when vm.Log became ethstate.Log.
2014-10-31 18:56:25 +01:00
Felix Lange
f3473312ba all: fix rename breakage 2014-10-31 18:52:58 +01:00
obscuren
af8f5f0b69 ethstate => state 2014-10-31 14:43:14 +01:00
obscuren
b1c247231b ethlog => logger 2014-10-31 12:56:05 +01:00
obscuren
fd9da72536 ethcrypto => crypto 2014-10-31 12:37:43 +01:00
obscuren
df5603de0a Moved logging to state, proper structured block
* Moved logs to state so it's subject to snapshotting
* Split up block header
* Removed logs from transactions and made them receipts only
2014-10-30 13:32:50 +01:00
Jeffrey Wilcke
81ec564ef6 Merge pull request #168 from fjl/feature/working-tests
Fix the tests
2014-10-29 19:48:38 +01:00
Felix Lange
4cf69d7cd3 vm: fix basic VM tests
The tests now compile and won't panic for unexpected return values.

We need a recent-enough version of the mutan compiler because of
the new JUMPDEST requirements. Skip some tests if the installed mutan
version is too old. The debug VM test still fails, probably because
of an implementation bug.
2014-10-29 18:50:17 +01:00
obscuren
fb4113dab4 PoC 7 updates
* Bloom
* Block restructure
* Receipts
2014-10-29 10:34:40 +01:00
obscuren
48125a25eb Added missing requires on SSTORE SLOAD 2014-10-28 13:26:30 +01:00
obscuren
7849b7e978 Refund SSTORE properly 2014-10-28 13:22:04 +01:00
obscuren
272d58662c Implemented LOG. Closes #159 2014-10-27 11:44:16 +01:00
Felix Lange
69baa465ea Merge eth-go repository into go-ethereum
mist, etheruem have been moved to cmd/
2014-10-23 15:01:27 +02:00
obscuren
feef194829 Chnged to use GetOp instead & added error + checking 2014-10-23 14:04:00 +02:00
obscuren
06aa74e7df All Stack requirements are now checked prior to reduring gas. 2014-10-23 10:14:55 +02:00
obscuren
29b8a0bc5f Updated the VM & VM tests
* Stack Error shouldn't revert to previous state
* Updated VM Test tool
* Added Transfer method to VM Env
2014-10-23 01:01:26 +02:00
obscuren
51ecab6967 Do not set error on recover 2014-10-22 23:39:15 +02:00
obscuren
b5beb1aac1 added a transfer method to vm env 2014-10-22 15:22:21 +02:00
obscuren
097ba56df5 Renamed block_chain to chain_manager 2014-10-20 11:53:11 +02:00
obscuren
20c742e474 Moved ethvm => vm 2014-10-18 13:31:20 +02:00