Commit Graph

9962 Commits

Author SHA1 Message Date
obscuren
99853ac3ce Moved execution from vm to chain.
This moves call and create to the specified environments. Vms are no
longer re-used. Vm uses environment's Call(Code) and Create in order to
execute new contracts or transfer value between accounts.

State transition now uses the same mechanism described above.
2014-12-03 17:06:54 +01:00
obscuren
8240550187 updated to types 2014-12-03 14:05:19 +01:00
obscuren
709eff4ea7 reverted vm back 2014-12-03 13:52:30 +01:00
obscuren
6212175be3 reverted vm back 2014-12-03 13:52:13 +01:00
obscuren
6095edac58 merge 2014-12-03 13:50:51 +01:00
obscuren
3d9a4e7084 Fixed mem error in vm. Fixed logs tests 2014-12-03 12:21:12 +01:00
CJentzsch
086caf3701 protocol update (CALLCODE <-> RETURN), topics in log are arrays not sets 2014-12-03 08:31:03 +01:00
obscuren
f778922086 Set proper message value 2014-12-02 22:37:45 +01:00
obscuren
edc52bdcbf Updated value for mined blocks. Closes #197 2014-12-02 22:23:20 +01:00
obscuren
0a22dc2ce5 Check coinbase for from/to inclusion 2014-12-02 22:22:43 +01:00
obscuren
cb4d168ecc Updated LOG to match proper gas in all cases 2014-12-02 17:22:33 +01:00
obscuren
5ebae82eeb Additional logging and removed temp merged mining options. 2014-12-02 12:23:27 +01:00
obscuren
64f35ba8d1 merge errors fixed 2014-12-02 11:52:56 +01:00
obscuren
99481a245a Check for known block err and ignore 2014-12-02 11:37:33 +01:00
obscuren
9f7a8ea5e6 updated tests 2014-12-02 10:29:39 +01:00
obscuren
b4eeffa8f1 Transaction strictness 2014-12-02 00:14:34 +01:00
obscuren
2df8ad6307 Added state tests 2014-12-02 00:03:53 +01:00
obscuren
a052357872 Fixed EXP gas 2014-12-01 22:05:38 +01:00
CJentzsch
e6c92673b9 update state tests with logs 2014-12-01 21:14:08 +01:00
obscuren
a22056db59 Make an attempt to pay for the gas prior to expanding the mem. 2014-12-01 20:49:56 +01:00
obscuren
beb7d35c40 Updated tests 2014-12-01 20:21:41 +01:00
obscuren
d33987cb44 Additional fees for *COPY 2014-12-01 20:20:55 +01:00
obscuren
6dc46d3341 Changed the way transactions are being added to the transaction pool 2014-12-01 20:18:09 +01:00
CJentzsch
4089b809fb update gas costs 2014-12-01 18:19:40 +01:00
Christoph Jentzsch
cfdca62277 Merge pull request #42 from negedzuregal/fix
vmTest fix
2014-12-01 18:04:51 +01:00
alon muroch
f59f89d876 vmEnvironmentalInfoTest CALLDATACOPY, CODECOPY, EXTCODECOPY fix 2014-12-01 16:18:12 +01:00
alon muroch
68da13fe3e vmArithmeticTest exp fix 2014-12-01 11:10:57 +01:00
obscuren
616066a598 rework vm 2014-11-30 21:02:59 +01:00
ethers
2e5175e818 add vmLogTest 2014-11-30 19:55:51 +01:00
Heiko Heiko
b5b9408e64 updated genesis to new header w/o min_gas_price 2014-11-30 16:27:27 +01:00
Ethan Buchman
7c24cd790d fix panic on bad sender 2014-11-28 19:42:05 -05:00
obscuren
1bce02eff7 Fixed merge 2014-11-28 21:44:34 +01:00
obscuren
a3559c5e1b updated PV 2014-11-28 21:38:10 +01:00
obscuren
c8d0f8adc5 Changed refund 2014-11-28 21:20:32 +01:00
obscuren
6ba8328077 Removed min gas price from genesis 2014-11-28 20:57:10 +01:00
obscuren
61556ef01d GasData changes & removed min gas price 2014-11-28 20:47:24 +01:00
Taylor Gerring
ef7961b7d2 Merge pull request #194 from ethereum/poc8
Update tests branch to PoC8
2014-11-27 13:23:31 +01:00
Taylor Gerring
c17a3cb0ce chain coverage report & submission
prevent coverage results from being submitted to coveralls if when the
build fails
2014-11-27 12:42:13 +01:00
Felix Lange
cfd7e74c25 p2p: add test for NewPeer 2014-11-26 22:49:40 +01:00
Felix Lange
3a09459c4c p2p: make Disconnect not hang for peers created with NewPeer 2014-11-26 22:08:54 +01:00
Felix Lange
9b85002b70 p2p: remove Msg.Value and MsgLoop 2014-11-25 16:01:39 +01:00
Felix Lange
f816fdcb69 rlp: include target type in decoder error messages 2014-11-25 16:00:48 +01:00
Felix Lange
6049fcd52a p2p: use package rlp for baseProtocol 2014-11-25 12:25:31 +01:00
Felix Lange
c1fca72552 p2p: use package rlp 2014-11-24 19:03:20 +01:00
Felix Lange
205af02a1f rlp: add NewListStream (for p2p) 2014-11-24 19:03:17 +01:00
Felix Lange
5a5560f105 rlp: add Stream.Reset and accept any reader (for p2p) 2014-11-24 19:03:11 +01:00
ethers
8e69fbfa98 add special tests 2014-11-21 17:42:05 -08:00
Felix Lange
59b63caf5e p2p: API cleanup and PoC 7 compatibility
Whoa, one more big commit. I didn't manage to untangle the
changes while working towards compatibility.
2014-11-21 21:52:45 +01:00
Felix Lange
e4a601c644 p2p: disable failing Server tests for now 2014-11-21 21:52:45 +01:00
Felix Lange
7149191dd9 p2p: fix issues found during review 2014-11-21 21:52:45 +01:00