Commit Graph
280 Commits
Author SHA1 Message Date
Christian fa24c954a5 Renamed file. 2014-10-30 21:21:25 +01:00
Christian 6642992c97 Merge remote-tracking branch 'ethereum/develop' into sol_contractCompiler 2014-10-30 01:25:42 +01:00
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
Gav Wood 5110ffe304 Merge pull request #442 from chriseth/sol_fix_break
Parser fix: Consume break and continue.
2014-10-29 19:07:39 +01:00
Gav Wood 4c895be53f Merge pull request #434 from CJentzsch/vmtraceBugFix
Vmtrace bug fix
2014-10-29 19:06:54 +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
Christian 3f4befd6b4 Parser fix: Consume break and continue. 2014-10-29 13:00:22 +01:00
Paweł Bylica cacc4477bf Fix VM test code loading conditions 2014-10-28 16:26:33 +01:00
Christoph Jentzsch 3381372200 merge 2014-10-28 12:17:53 +01:00
Christoph Jentzsch 01e9cf0cad Fixed storage output in VMTRACE for vm tests 2014-10-28 12:11:52 +01:00
Christoph Jentzsch 6b4d35259a Added tests for SIGNEXTEND and BNOT 2014-10-28 08:50:05 +01:00
Christoph Jentzsch a54c3ae704 Merge remote-tracking branch 'upstream/develop' into newTests
Conflicts:
	test/vm.cpp
	test/vm.h
2014-10-28 07:28:05 +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 88cb7f5c8b Merge remote-tracking branch 'upstream/develop' into newTests
Conflicts:
	libevm/VM.h
	libevmface/Instruction.h
	test/vm.cpp
2014-10-27 18:29:30 +01:00
Christoph Jentzsch 0a3b337be5 use ETHEREUM_TEST_PATH in all tests 2014-10-27 17:30:27 +01:00
Christoph Jentzsch f6e60137e9 bugfix 2014-10-27 17:23:17 +01:00
Christoph Jentzsch fb21574455 use ETHEREUM_TEST_PATH in all tests 2014-10-27 17:04:18 +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
Christoph Jentzsch b69cc9815f VMTRACE for internal calls 2014-10-27 13:54:59 +01:00
Christoph Jentzsch 4651b9f3a7 Add VMTRACE to user defined vm test 2014-10-27 12:45:29 +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