Commit Graph
266 Commits
Author SHA1 Message Date
Christian b0d4e0dedf Contract compiler and also add ExpressionStatement to AST.
ExpressionStatement functions as glue between Statements and Expressions.

This way it is possible to detect when the border between statements and
expressions is crossed while walking the AST. Note that ExpressionStatement is
not the only border, almost every statement can contains expressions.
2014-10-30 01:25:42 +01:00
Christian e08065a2fb Compiler for assignments. 2014-10-29 14:33:25 +01:00
Christian d706631412 NEG->BNOT change 2014-10-29 14:26:37 +01:00
Christian 9eacf5737f Merge remote-tracking branch 'ethereum/develop' into sol_contractCompiler
Conflicts:
	libsolidity/Types.cpp
2014-10-29 13:54:36 +01:00
Paweł Bylica cacc4477bf Fix VM test code loading conditions 2014-10-28 16:26:33 +01:00
Gav Wood f59a8f5824 Merge pull request #428 from CJentzsch/useETHEREUM_TEST_PATH
use ETHEREUM_TEST_PATH in all tests
2014-10-28 03:41:27 +01:00
Christoph Jentzsch f1f8e2632d Update vm.h 2014-10-27 22:33:50 +01:00
Christoph Jentzsch a0cfe7aeef Update vm.cpp 2014-10-27 22:33:23 +01:00
Christoph Jentzsch 8f05f86e16 Merge remote-tracking branch 'upstream/develop' into vmtrace 2014-10-27 22:21:46 +01:00
Christoph Jentzsch 7a3517ed3a log VMTRACE in file for user defined test 2014-10-27 22:21:30 +01:00
Gav Wood 0006d8fefa Draft of new LOG/bloom/headers/block format. 2014-10-27 20:26:34 +01:00
Christoph Jentzsch 6d1c06a719 VMTRACE for internal calls
Conflicts:
	test/vm.cpp
2014-10-27 19:01:10 +01:00
Christoph Jentzsch 1905208649 Add VMTRACE to user defined vm test
Conflicts:
	test/vm.cpp
2014-10-27 18:59:42 +01:00
Christoph Jentzsch 0a3b337be5 use ETHEREUM_TEST_PATH in all tests 2014-10-27 17:30:27 +01:00
Gav Wood dba99342ba Move suicides into SubState and include logs and refunds.
Refund gas from zero-resetting SSTOREs.
2014-10-27 16:32:53 +01:00
Gav Wood ed7a56cc16 PoC-7: Reversion of 0-hashes, empty-list hashes and sha3('') -> '' 2014-10-27 14:13:16 +01:00
Christian b03a6a3563 Expression compiler. 2014-10-24 19:38:13 +02:00
Gav Wood 08c45c85b4 Merge pull request #412 from CJentzsch/newTests
New vm tests
2014-10-24 15:12:35 +02:00
subtly 9a6b5fd613 style. remove unused code. 2014-10-23 22:12:47 +02:00
subtly 1c8ef38124 coding standards 2014-10-23 21:59:05 +02:00
subtly f02987e219 remove irrelevant test code 2014-10-23 19:25:12 +02:00
subtly 2b66efb72d cleanup more headers 2014-10-23 19:19:02 +02:00
subtly 5d74c0edb9 Merge branch 'develop' into crypto 2014-10-23 19:07:19 +02:00
subtly ee062e564b add ecies encrypt/decrypt support to common crypto 2014-10-23 19:06:31 +02:00
Christoph Jentzsch a203fb7ae8 merge 2014-10-23 18:58:59 +02:00
Christoph Jentzsch 1a486faad1 Merge remote-tracking branch 'upstream/develop' into newTests 2014-10-23 18:56:45 +02:00
subtly 8f6314b923 Merge branch 'develop' into crypto 2014-10-23 18:16:39 +02:00
subtly 3726c120e9 two ec curves walked into a bar... 2014-10-23 16:59:01 +02:00
subtly 9604a5a4d9 commit before narrowing down import-public key issue w/cryptopp 2014-10-23 16:38:50 +02:00
Christoph Jentzsch c9d5ae113a Merge remote-tracking branch 'upstream/develop' into bugfix 2014-10-23 16:13:47 +02:00
Christoph Jentzsch 8b9ad7a3fe Merge remote-tracking branch 'upstream/develop' into newTests 2014-10-23 16:07:30 +02:00
Christoph Jentzsch 9e28ef7cf0 Added new recursive bombs to vm tests 2014-10-23 16:07:13 +02:00
Gav Wood 076f58fe24 Merge pull request #381 from chriseth/solidity
Solidity parser - not polished yet, but usable
2014-10-23 16:05:42 +02:00
Christoph Jentzsch a50e16628a Merge branch 'bugfix' into newTests 2014-10-23 15:11:32 +02:00
Christoph Jentzsch dc81b942d8 Merge remote-tracking branch 'upstream/develop' into newTests 2014-10-23 13:13:01 +02:00
Christoph Jentzsch d865275202 Changing gas cost to zero at stackunderflow 2014-10-23 11:25:34 +02:00
subtly 4dcfbd05c6 cryptopp_vs_secp256k1 2014-10-23 05:04:25 +02:00
subtly 19e169694c fix public import/export 2014-10-23 04:50:04 +02:00
subtly 6513d43129 import/export cryptopp keys. begin to separate operations and public/secret. 2014-10-23 02:40:02 +02:00
subtly 9308d04a4c Export and encrypt via dev::Public. more cryptopp abstraction. 2014-10-22 23:59:00 +02:00
subtly d4aea64175 Merge branch 'develop' into crypto 2014-10-22 22:59:38 +02:00
subtly 29450c0fab abstract cryptopp. add/test encrypt/decrypt for key. 2014-10-22 22:57:41 +02:00
Christoph Jentzsch c7a101dec3 bug fix 2014-10-22 22:13:08 +02:00
Christoph Jentzsch f8d8e83c1e bug fix 2014-10-22 21:45:37 +02:00
Christoph Jentzsch 52e3b15735 Added call depth tests 2014-10-22 21:21:18 +02:00
Gav Wood 3f5bec5940 Merge pull request #404 from imapp-pl/pr-fixes
Enhance VM tests reports
2014-10-22 21:05:13 +02:00
Gav Wood 7356e6f429 Merge pull request #405 from CJentzsch/randomTestCreater
Random test creater optimization
2014-10-22 21:04:49 +02:00
Christoph Jentzsch 76c29fc08a Bugfix, get correct gas after exception 2014-10-22 16:40:24 +02:00
subtly 9a5a6db634 aes ctr mode test 2014-10-22 15:57:52 +02:00
Paweł Bylica e987e1a692 Drop universal initializer in some places 2014-10-22 12:54:31 +02:00